incorrect type hint on read-cell

Description

The type hints are incorrect on read-cell and read-quoted-cell. The Clojure compiler can't resolve the call to method unread. That's because the hint was ^Reader where it should be ^PushbackReader.

Compiling namespace clojure.data.csv
Reflection warning, clojure/data/csv.clj:34:25 - call to method unread on java.io.Reader can't be resolved (no such method).
Reflection warning, clojure/data/csv.clj:52:18 - call to method unread on java.io.Reader can't be resolved (no such method).

Environment

None

Attachments

1

Activity

Jonas Enlund May 4, 2017 at 4:54 AM

Thanks. I applied the patch and released data.csv version 0.1.4.

Steve Miner May 2, 2017 at 6:46 PM

patch attached

Completed

Details

Assignee

Reporter

Patch

Priority

Created May 2, 2017 at 6:45 PM
Updated May 4, 2017 at 4:55 AM
Resolved May 4, 2017 at 4:55 AM