This works:
switch 0 {
-1 => "minus one"
1 => "one"
}
This doesn't work:
switch 0 {
1 => "one"
-1 => "minus one"
}
Output:
switch.neko(3): Unexpected =>
It appears to have something to do with the position of the negative number.
-Justin
--
Neko : One VM to run them all
(http://nekovm.org)
