cljs.spec: keys* causes exception

Description

From https://clojure.org/guides/spec there is a keys* usage in the Entity Maps section. If tried with cljs.spec an exception is thrown:

Environment

None

Attachments

2

Activity

Show:

David Nolen December 13, 2016 at 6:59 PM

Thanks fixed in the master.

import December 13, 2016 at 12:02 AM

Comment made by: sgurenkov

Still getting this error, looks like patch was not merged properly.

Mike Fikes July 27, 2016 at 4:05 PM

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.)

Completed

Details

Assignee

Reporter

Patch

Priority

Created May 29, 2016 at 6:26 PM
Updated December 13, 2016 at 6:59 PM
Resolved December 13, 2016 at 6:59 PM