We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3def879 commit b7cf258Copy full SHA for b7cf258
1 file changed
src/test/clojure/cljs/analyzer_tests.clj
@@ -669,7 +669,17 @@
669
(-> (binding [a/*cljs-ns* a/*cljs-ns*]
670
(e/with-compiler-env externs-cenv
671
(a/analyze (a/empty-env) '(js/woz))))
672
- :tag))))
+ :tag)))
673
+ (is (= 'js
674
+ (-> (binding [a/*cljs-ns* a/*cljs-ns*]
675
+ (e/with-compiler-env externs-cenv
676
+ (a/analyze (a/empty-env) '(def foo (js/woz)))))
677
678
679
680
681
+ (a/analyze (a/empty-env) '(def foo js/boz))))
682
+ :tag))))
683
684
(comment
685
(require '[cljs.compiler :as cc])
0 commit comments