arichiardi / replumb

ClojureScript plumbing for your self-hosted REPLs.
http://clojurescript.io
Eclipse Public License 1.0
209 stars 16 forks source link

Syntax-quote doesn't auto-qualify symbols #117

Closed arichiardi closed 8 years ago

arichiardi commented 8 years ago

Test case, using the Node REPL that ships with ClojureScript:

cljs.user=> (require '[cljs.tools.reader :as r])
nil
cljs.user=> (binding [r/resolve-symbol (fn [_] 'cljs.user/x)]
  (r/read-string "`x"))
(quote x)

The result should instead be

(quote cljs.user/x)

Solved upstream, thanks to @mfikes so we just need to bump tools-reader. As usual we would need tests as well.

arichiardi commented 8 years ago

The test is not possible as to perform at the moment as the compiler is not including in out part of tools.reader, for instance cljs.tools.reader.reader-types is missing.