trptcolin / reply

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

No support for auto-resolved namepaced maps #200

Open nighcoder opened 4 years ago

nighcoder commented 4 years ago

nREPL server started on port 34653 on host 127.0.0.1 - nrepl://127.0.0.1:34653 REPL-y 0.4.3, nREPL 0.6.0 Clojure 1.10.0 OpenJDK 64-Bit Server VM 1.8.0_242-b08

::{:a 0}

Syntax error reading source at (REPL:1:1). EOF while reading, starting at line 1

Syntax error reading source at (REPL:1:2). Unmatched delimiter: }

The above code fails when running from lein repl. I've tested it with Clojure 1.9.0, 1.10.0 and 1.10.1. It does not fail when running from clojure repl or nrepl client.

Edit: It does work, however, with aliased namespaces:

user=> (require '[clojure.edn :as edn]) nil user=> #::edn{:a 0}

:clojure.edn{:a 0}