From 0d770e496f7a1cb5030bb80062c3396438717006 Mon Sep 17 00:00:00 2001 From: Nicola Mometto Date: Thu, 18 Apr 2024 09:39:44 +0100 Subject: [PATCH] fix(reader): just use `str` rather than ns-name, so it can work for cljs' :as-alias --- src/main/clojure/clojure/tools/reader.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/clojure/clojure/tools/reader.clj b/src/main/clojure/clojure/tools/reader.clj index ee9d784..7ac2fbc 100644 --- a/src/main/clojure/clojure/tools/reader.clj +++ b/src/main/clojure/clojure/tools/reader.clj @@ -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'))]