Skip to content

Commit 5f3c494

Browse files
mfikesswannodette
authored andcommitted
CLJS-1433: cljs.js/*eval-fn* passed nil :cache
Need to deref the env/*compiler* atom
1 parent d774069 commit 5f3c494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/js.cljs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@
690690
:name name
691691
:path (ns->relpath name)
692692
:source js-source
693-
:cache (get-in env/*compiler* [::ana/namespaces name])}
693+
:cache (get-in @env/*compiler* [::ana/namespaces name])}
694694
complete (fn [res]
695695
(if (:error res)
696696
(cb res)

0 commit comments

Comments
 (0)