Closed eyelidlessness closed 8 years ago
This is a more thorough change than #150, eliminating the inference on cljs.analyzer entirely. It instead infers the fact that it's compiling ClojureScript by checking (:ns &env). While this feels hacky to me, it's widely used.
cljs.analyzer
(:ns &env)
This should address both #133 and #148.
Nice. Yeah the analyzer hack is really a stretch. I'm glad that there's a better solution.
This is a more thorough change than #150, eliminating the inference on
cljs.analyzer
entirely. It instead infers the fact that it's compiling ClojureScript by checking(:ns &env)
. While this feels hacky to me, it's widely used.This should address both #133 and #148.