Ticket #1 (new defect)

Opened 9 years ago

Pattern matching in GF is currently broken

Reported by: kr.angelov Owned by:
Priority: minor Version:
Keywords: Cc:


if you have case expression like this:

case x of {

A (B _) => ...


the compiler complains that "_" underscore is undefined variable. This happens only when the variables are not on the first level. This for example works:

case x of {

A _ => ...


Note: See TracTickets for help on using tickets.