macro | since v0.0-3291 | Edit |
(no-warn & body)
Disable analyzer warnings for any analysis executed in body.
(defmacro no-warn
[& body]
(let [no-warnings (zipmap (keys ana/*cljs-warnings*) (repeat false))]
`(binding [ana/*cljs-warnings* ~no-warnings]
~@body)))