trptcolin / reply

REPL-y: A fitter, happier, more productive REPL for Clojure.
Eclipse Public License 1.0
337 stars 44 forks source link

Delimiter mismatch reported on namespaced maps #169

Closed technomancy closed 6 years ago

technomancy commented 7 years ago

Reported by @heptahedron as a problem in lein repl but I believe the root cause is in reply: https://github.com/technomancy/leiningen/issues/2310

Opening a repl with lein repl and evaluating #::{:foo :bar} results in the following error: RuntimeException EOF while reading, starting at line 1 clojure.lang.Util.runtimeException (Util.java:221) RuntimeException Unmatched delimiter: } clojure.lang.Util.runtimeException (Util.java:221)

trptcolin commented 7 years ago

One more level: https://github.com/cgrand/sjacket/issues/25

AdamFrey commented 6 years ago

the fix for this issue has merged in sjacket, but not released yet.

trptcolin commented 6 years ago

I'm depending on a self-released clojars version of sjacket for the time being and closing this.

technomancy commented 5 years ago

It looks like while the reported exception has gone away on the master branch, that particular input still doesn't parse:

user=> #::{:foo :bar}

RuntimeException Invalid token: ::  clojure.lang.Util.runtimeException (Util.java:221)

Do you want a separate issue for this?

trptcolin commented 5 years ago

@technomancy sorry for the delay. I think this particular error is due to Clojure 1.6.0 running on the eval side of the nREPL - I can reproduce w/ java -jar /Users/colin/.m2/repository/org/clojure/clojure/1.6.0/clojure-1.6.0.jar, and when I bump the project.clj dependency to 1.9.0 things seem to work OK on master.