macrosince v1.10.738Edit
(with-warning-handlers handlers & body)

Source docstring:
Helper macro for custom handling of emitted warnings. Handlers should be
a vector of functions. The signature of these functions is
[warn-type env warn-info]. warn-type is a keyword describing the warning,
env is the analysis environment, and warn-info is a map of extra useful
information for a particular warning type.
Source code @ clojurescript:src/main/clojure/cljs/analyzer/api.cljc
(defmacro with-warning-handlers
  [handlers & body]
  `(ana/with-warning-handlers ~handlers