Details
-
Type:
Defect
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Completed
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
Description
(let [x '(1 2) y 1]
(match [x y]
[([1] :seq) _] :a0
[_ 1] :a1
[([1 2] :seq) _] :a2
[_ 2] :a3
:else :a4))
This returns :a2 when it should return :a1
Fixed, https://github.com/clojure/core.match/commit/efa880320fc235536690ba8af078a59c17f3321d