<< Back to previous view

[MATCH-83] Inconsistent [_ & _] behavior Created: 18/Jul/13  Updated: 28/Jul/13  Resolved: 24/Jul/13

Status: Closed
Project: core.match
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Critical
Reporter: George Fraser Assignee: David Nolen
Resolution: Completed Votes: 0
Labels: None
Environment:

clojure 1.5.1
core.match 0.2.0-rc4



 Description   
(let [x [1 2]]
  (match x 
    [0 _ _ _] :a 
    [1 & _] :b 
    _ :c)) ; :c

(let [x [1 2]]
  (match x
    [1 & _] :b 
    [0 _ _ _] :a 
    _ :c)) ; :b

Both clojure and clojurescript



 Comments   
Comment by David Nolen [ 24/Jul/13 8:48 PM ]

fixed, http://github.com/clojure/core.match/commit/ae2bc9c581c2e95b24270498549e97d59f379b1f

Generated at Fri Apr 18 23:23:59 CDT 2014 using JIRA 4.4#649-r158309.