We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5c227e8 commit 004107aCopy full SHA for 004107a
src/main/clojure/cljs/compiler.cljc
@@ -974,8 +974,9 @@
974
(= (get (string/split ns-str #"\.") 0 nil) "goog"))
975
(not (contains? (::ana/namespaces @env/*compiler*) ns))))
976
977
- keyword? (and (= (-> f :op) :constant)
978
- (keyword? (-> f :form)))
+ keyword? (or (= 'cljs.core/Keyword (ana/infer-tag env f))
+ (and (= (-> f :op) :constant)
979
+ (keyword? (-> f :form))))
980
[f variadic-invoke]
981
(if fn?
982
(let [arity (count args)
0 commit comments