Skip to content

Commit 5612bf6

Browse files
committed
add CLJS-1225 problem case in comment to compiler tests
1 parent c9bf3f4 commit 5612bf6

File tree

1 file changed

+10
-4
lines changed

1 file changed

+10
-4
lines changed

test/clj/cljs/compiler_tests.clj

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,16 @@
5858
(comp/emit
5959
(ana/analyze aenv
6060
'(defn foo ([a]) ([a b])))))
61+
)
6162

62-
(env/with-compiler-env cenv
63-
(comp/munge
64-
(comp/lazy-load?
63+
;; CLJS-1225
64+
65+
(comment
66+
(binding [ana/*cljs-static-fns* true]
67+
(env/with-compiler-env cenv
68+
(comp/emit
6569
(ana/analyze aenv
66-
'(defn foo ([a]) ([a b]))))))
70+
'(defn incme []
71+
(let [incme (fn [a queue & args])]
72+
(println (incme 1 [1] 1 1))))))))
6773
)

0 commit comments

Comments
 (0)