Skip to content

Commit

Permalink
fix(reader): just use str rather than ns-name, so it can work for
Browse files Browse the repository at this point in the history
cljs' :as-alias
  • Loading branch information
Bronsa committed Apr 18, 2024
1 parent 39b4847 commit 0d770e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/clojure/clojure/tools/reader.clj
Original file line number Diff line number Diff line change
Expand Up @@ -761,7 +761,7 @@
(ns-name *ns*)

(= \: (first token))
(some-> token (subs 1) parse-symbol second' symbol resolve-ns ns-name)
(some-> token (subs 1) parse-symbol second' symbol resolve-ns)

:else
(some-> token parse-symbol second'))]
Expand Down

0 comments on commit 0d770e4

Please sign in to comment.