Original patch no longer applies; attaching CLJS-1653-2.patch.
Mike Fikes May 30, 2016 at 4:55 PM
The attached patch works around the issue by qualifying the reference to cljs.spec/&.
With it, the example in the docstring works:
(There is probably a more correct solution that probably involves changing the analyzer, which would lead to users being able to refer & and use it as (& ...), but this patch would get us by for now if desired.)
From https://clojure.org/guides/spec there is a
keys*
usage in the Entity Maps section. If tried withcljs.spec
an exception is thrown: