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

David Nolen made changes -
Field Original Value New Value
Description (match (vector)
       ([(re :when string?)] :seq) 4
       [] 6)
This should evaluate to 6 not nil.


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

This should evaluate to 6 not nil.


David Nolen made changes -
Resolution Completed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]
David Nolen made changes -
Status Resolved [ 5 ] Closed [ 6 ]

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: