Skip to content

Commit 58add51

Browse files
author
dnolen
committed
bug noticed by Kovas Boguta, cljs.analyzer/parse-ns needs to bind *cljs-file*
1 parent cfa1d9a commit 58add51

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/clj/cljs/analyzer.clj

+1
Original file line numberDiff line numberDiff line change
@@ -2054,6 +2054,7 @@
20542054
[ijs compiler-env']
20552055
(binding [env/*compiler* (atom compiler-env)
20562056
*cljs-ns* 'cljs.user
2057+
*cljs-file* src
20572058
*macro-infer*
20582059
(or (when (contains? opts :macro-infer)
20592060
(:macro-infer opts))

0 commit comments

Comments
 (0)