Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

* src/clj/cljs/closure.clj: CLJS-323: add compiler build :warnings tr…

…ue option
  • Loading branch information...
commit d4671a96fbcc046bf4b0b25f445e7d06b6b8ab6a 1 parent 16863e3
David Nolen authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/clj/cljs/closure.clj
4 src/clj/cljs/closure.clj
View
@@ -871,7 +871,9 @@
(binding [ana/*cljs-static-fns*
(or (and (= (opts :optimizations) :advanced))
(:static-fns opts)
- ana/*cljs-static-fns*)]
+ ana/*cljs-static-fns*)
+ ana/*cljs-warn-on-undeclared*
+ (true? (opts :warnings))]
(let [compiled (-compile source all-opts)
compiled (concat
(if (coll? compiled) compiled [compiled])
Please sign in to comment.
Something went wrong with that request. Please try again.