From 58add51bc55e52949f870975b032d2ef5ce06b8b Mon Sep 17 00:00:00 2001 From: dnolen Date: Wed, 15 Apr 2015 15:07:24 -0400 Subject: [PATCH] bug noticed by Kovas Boguta, cljs.analyzer/parse-ns needs to bind *cljs-file* --- src/clj/cljs/analyzer.clj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/clj/cljs/analyzer.clj b/src/clj/cljs/analyzer.clj index b6c9c63369..85c7f9d7da 100644 --- a/src/clj/cljs/analyzer.clj +++ b/src/clj/cljs/analyzer.clj @@ -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))