Syntax-quote doesn't auto-qualify symbols
Closed this issue · 1 comments
arichiardi commented
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
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.