Skip to content

Commit

Permalink
add missing compiler env binding for REPL read resolve-symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
thheller committed Nov 6, 2018
1 parent 76ed31b commit d6300ec
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/main/shadow/cljs/repl.clj
Expand Up @@ -502,6 +502,12 @@
reader/*data-readers*
tags/*cljs-data-readers*

;; ana/resolve-symbol accesses the env
;; don't need with-compiler-env since it's read only and doesn't side effect
;; the compiler env like cljs.analyzer does
env/*compiler*
(atom (:compiler-env build-state))

reader/resolve-symbol
ana/resolve-symbol

Expand Down

0 comments on commit d6300ec

Please sign in to comment.