Hello

Playing with bootstrapped cljs I noticed that :analyze-deps doesn't work
correctly. Setting it to false doesn't make any effect and deps are still
being analyzed. I checked source code and it seems like :analyze-deps and
:load-macros are always true regardless what you provide:

For example:
https://github.com/clojure/clojurescript/blob/master/src/main/cljs/cljs/js.cljs#L225
:*load-macros* (or (:load-macros opts) true)
:*analyze-deps* (or (:analyze-deps opts) true)

Both these variables are always truthy. I think correct version is
(:load-macros opts true) instead of using or in this case unless it is
intentionally written this way to "disable" :load-macros/:analyze-deps
options.

Thanks,
Nikita

-- 
Note that posts from new members are moderated - please be patient with your 
first post.
--- 
You received this message because you are subscribed to the Google Groups 
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.

Reply via email to