Skip to content

Commit 7e1f81a

Browse files
committed
need to bind cljs.repl/*repl-opts* sooner for IJavaScriptEnv -setup
so cljs form evaluations work
1 parent 7de5e77 commit 7e1f81a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/clj/cljs/repl.clj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -692,7 +692,8 @@
692692
:undeclared-var warn-on-undeclared
693693
:undeclared-ns warn-on-undeclared
694694
:undeclared-ns-form warn-on-undeclared)
695-
ana/*cljs-static-fns* static-fns]
695+
ana/*cljs-static-fns* static-fns
696+
*repl-opts* opts]
696697
;; TODO: the follow should become dead code when the REPL is
697698
;; sufficiently enhanced to understand :cache-analysis - David
698699
(let [env {:context :expr :locals {}}

0 commit comments

Comments
 (0)