Skip to content

Commit 5a78c9f

Browse files
mfikesdnolen
authored andcommitted
CLJS-1653: cljs.spec: keys* causes exception
1 parent 689f6d3 commit 5a78c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/cljs/cljs/spec.cljc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@
411411
{:i1 42, :m {:a 1, :c 2, :d 4}, :i2 99}"
412412
[& kspecs]
413413
`(let [mspec# (keys ~@kspecs)]
414-
(with-gen (& (* (cat ::k keyword? ::v cljs.core/any?)) ::kvs->map mspec#)
414+
(with-gen (cljs.spec/& (* (cat ::k keyword? ::v cljs.core/any?)) ::kvs->map mspec#)
415415
(fn [] (gen/fmap (fn [m#] (apply concat m#)) (gen mspec#))))))
416416

417417
(defmacro nilable

0 commit comments

Comments
 (0)