core.match

Fail to match empty vector

Details

  • Type: Defect Defect
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Completed
  • Affects Version/s: None
  • Fix Version/s: None
  • Component/s: None
  • Labels:
    None

Description

(match (vector)
  ([(re :guard string?)] :seq) 4
  [] 6)

This should evaluate to 6 not nil.

Activity

Hide
Jason Jackson added a comment -

tested on 0.2.0-alpha10-SNAPSHOT

Show
Jason Jackson added a comment - tested on 0.2.0-alpha10-SNAPSHOT
Hide
David Nolen added a comment -
Show
David Nolen added a comment - resolved in master, added test case http://github.com/clojure/core.match/commit/b21d1a09e0d495003fc45ca48568355609ed69bd

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: