Skip to content

Commit a064803

Browse files
author
dnolen
committed
code comment
1 parent 9880be6 commit a064803

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/main/clojure/cljs/analyzer.cljc

+2
Original file line numberDiff line numberDiff line change
@@ -1809,6 +1809,8 @@
18091809
(update-in [:uses] remove-missing-uses)
18101810
(update-in [:rename-macros] merge missing-rename-macros)
18111811
(update-in [:renames] remove-missing-renames))]
1812+
;; we also need to side-effect the compilation environment
1813+
;; the returned AST isn't actually used directly
18121814
(swap! env/*compiler*
18131815
#(-> %
18141816
(update-in [::namespaces name :use-macros] merge (:use-macros ast'))

0 commit comments

Comments
 (0)