Skip to content

Commit

Permalink
bug noticed by Kovas Boguta, cljs.analyzer/parse-ns needs to bind *cl…
Browse files Browse the repository at this point in the history
…js-file*
  • Loading branch information
dnolen committed Apr 15, 2015
1 parent cfa1d9a commit 58add51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/clj/cljs/analyzer.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2054,6 +2054,7 @@
[ijs compiler-env']
(binding [env/*compiler* (atom compiler-env)
*cljs-ns* 'cljs.user
*cljs-file* src
*macro-infer*
(or (when (contains? opts :macro-infer)
(:macro-infer opts))
Expand Down

0 comments on commit 58add51

Please sign in to comment.