[MATCH-88] different semantics at runtime versus compile time Created: 27/Oct/13 Updated: 27/Oct/13 Resolved: 27/Oct/13
|Reporter:||kovas boguta||Assignee:||David Nolen|
((fn [x] (match x [1 1] 1 :else 2)) ) ->
(match  [1 1] 1 :else 2) ->
|Comment by David Nolen [ 27/Oct/13 8:17 PM ]|
This is not actually a bug, but perhaps an unfortunate side effect of a syntactic convenience. When using the vector syntax you not matching on a vector - just a list of local bindings. So in the first case you're matching a specific local binding, and in the second your matching a single value.