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.
js
1 parent fa7c692 commit f43fabcCopy full SHA for f43fabc
src/main/clojure/cljs/compiler.cljc
@@ -940,7 +940,7 @@
940
(or (= protocol tag)
941
;; ignore new type hints for now - David
942
(and (not (set? tag))
943
- (not ('#{any clj clj-or-nil clj-nil number string boolean function object array} tag))
+ (not ('#{any clj clj-or-nil clj-nil number string boolean function object array js} tag))
944
(when-let [ps (:protocols (ana/resolve-existing-var env tag))]
945
(ps protocol)))))))
946
opt-not? (and (= (:name info) 'cljs.core/not)
0 commit comments