core.match

IndexOutOfBound exception using '&' in vector matching.

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

Following sample causes IndexOutOfBound exception.

(match [[:pow :x 2]]
[[:pow arg pow]] 0
[[:mult & args]] 1
:else 2)

Result: IndexOutOfBound

But if we delete '&' everything works fine:

(match [[:pow :x 2]]
[[:pow arg pow]] 0
[[:mult args]] 1
:else 2)

Result: 0

Activity

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

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: