compiler option | since v1.10.439 | Edit |
Skip spec checks against macro forms. Defaults to false.
:spec-skip-macros true
See CLJS-2728 for additional context.
An example using Planck from the issue linked above.
$ plk
ClojureScript 0.0.1403598667
cljs.user=> (require 'cljs.core.specs.alpha)
nil
cljs.user=> (let [1 2])
^
Call to cljs.core$macros/let did not conform to spec. at line 1
cljs.user=> (require '[cljs.env :as env])
nil
cljs.user=> (do (swap! env/*compiler* update :options assoc :spec-skip-macros true) nil)
nil
cljs.user=> (let [1 2])
^
Unsupported binding form: 1 at line 1