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

Activity

Show:
Jonas Enlund
May 4, 2017, 4:54 AM

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

Steve Miner
May 2, 2017, 6:46 PM

patch attached

Completed

Assignee

Jonas Enlund

Reporter

Steve Miner

Patch

Code