Skip to content

Commit

Permalink
CLJ-2042 s/form of s/? does not resolve pred
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart Halloway <[email protected]>
  • Loading branch information
puredanger authored and stuarthalloway committed Oct 28, 2016
1 parent 7aad2f7 commit ee9a3bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clj/clojure/spec.clj
Original file line number Diff line number Diff line change
Expand Up @@ -1481,7 +1481,7 @@
(list `+ rep+)
(cons `cat (mapcat vector (c/or (seq ks) (repeat :_)) forms)))
::alt (if maybe
(list `? maybe)
(list `? (res maybe))
(cons `alt (mapcat vector ks forms)))
::rep (list (if splice `+ `*) forms)))))

Expand Down

0 comments on commit ee9a3bd

Please sign in to comment.