slagyr / speclj

pronounced "speckle": a TDD/BDD framework for Clojure.
MIT License
459 stars 58 forks source link

Eliminate inference on cljs.analyzer when compiling cljs/cljc #152

Closed eyelidlessness closed 8 years ago

eyelidlessness commented 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.

This should address both #133 and #148.

slagyr commented 8 years ago

Nice. Yeah the analyzer hack is really a stretch. I'm glad that there's a better solution.