On Tue Jun 03 02:30:32 2014, masak wrote: > <masak> m: month > <camelia> rakudo-moar d78b63: OUTPUT«===SORRY!=== Error while > compiling /tmp/LaTRxwVvWtUndeclared routine: month used at line > 1» > <masak> m: constant m = month > <camelia> rakudo-moar d78b63: OUTPUT«===SORRY!===Cannot invoke null > object» > * masak submits LTA rakudobug > <masak> r: constant m = month > <camelia> rakudo-moar d78b63: OUTPUT«===SORRY!===Cannot invoke null > object» > <camelia> ..rakudo-parrot d78b63: OUTPUT«===SORRY!===Could not find > sub &month» > <camelia> ..rakudo-jvm d78b63: > OUTPUT«===SORRY!===java.lang.NullPointerException» > > Expected behavior: Rakudo Parrot's above.
This is now better on the jvm than on moar, but is probably closable with tests (esp. if moar is updated to reference the the object in the error) 09:49 < [Coke]> r: constant m = month; 09:49 <+camelia> rakudo-jvm ba7027: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfileAn exception occurred while evaluating a constantat /tmp/tmpfile:1Exception details: ===SORRY!=== Error while compiling  Can not invoke object '&month' at :» 09:49 <+camelia> ..rakudo-moar ba7027: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfileAn exception occurred while evaluating a constantat /tmp/tmpfile:1Exception details: ===SORRY!=== Error while compiling  Cannot invoke this object at :» -- Will "Coke" Coleda