We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7fe5446 commit 4218670Copy full SHA for 4218670
src/main/cljs/cljs/spec.cljc
@@ -449,7 +449,7 @@
449
predicates. Unlike 'and', merge can generate maps satisfying the
450
union of the predicates."
451
[& pred-forms]
452
- `(cljs.spec/merge-spec-impl '~(mapv res pred-forms) ~(vec pred-forms) nil))
+ `(cljs.spec/merge-spec-impl '~(mapv #(res &env %) pred-forms) ~(vec pred-forms) nil))
453
454
(defmacro exercise-fn
455
"exercises the fn named by sym (a symbol) by applying it to
0 commit comments