Skip to content

Commit 889bfd1

Browse files
committed
a bit redundant with fix for CLJS-2767 but good to have a test that's
exactly the original reported issue
1 parent 98effc9 commit 889bfd1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/test/clojure/cljs/externs_infer_tests.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@
350350
(let [ws (atom [])
351351
res (binding [ana/*cljs-static-fns* true]
352352
(infer-test-helper
353-
{:forms '[(defrecord Foo [])]
353+
{:forms '[(set! *warn-on-infer* true)
354+
(defrecord Foo [])]
354355
:warnings ws
355356
:warn true
356357
:with-core? true}))]

0 commit comments

Comments
 (0)