Skip to content

Commit b2e3a46

Browse files
committed
need to bind cljs.analyzer/*unchecked-if* in the REPL
1 parent 8477f19 commit b2e3a46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main/clojure/cljs/repl.cljc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,8 @@
807807
(env/with-compiler-env (or compiler-env (env/default-compiler-env opts))
808808
(when (:source-map opts)
809809
(.start (Thread. (bound-fn [] (read-source-map "cljs/core.aot.js")))))
810-
(binding [*err* (if bind-err
810+
(binding [ana/*unchecked-if* false
811+
*err* (if bind-err
811812
(cond-> *out*
812813
(not (instance? PrintWriter *out*)) (PrintWriter.))
813814
*err*)

0 commit comments

Comments
 (0)