I've been trying out the automatic type/spec annotations, they are really cool!
The demo project worked well, but when I tried it on my own project, spec-infer gave the following error:
ClassCastException clojure.tools.reader.reader_types.IndexingPushbackReader cannot be cast to java.io.Closeable clojure.core.typed.runtime-infer/ns-end-line/fn--24319 (runtime_infer.clj:2565)
which uses an IndexingPushBackReader in a with-open, but IndexingPushBackReader doesn't implement the Closeable interface.
Is this a bug in core.typed (it shouldn't use with-open?), or tools.reader (IndexingPushBackReader should implement Closeable?), or am I doing something wrong (maybe I have some conflicting deps)?
Thanks,
Emlyn