On Fri Dec 26 05:05:27 2008, masak wrote: > <ruoso> rakudo: sub foo { fail }; sub bar { foo(); 2; CATCH { 1; } }; > say bar(); > <p6eval> rakudo 34376: OUTPUT«Null PMC access in isa() [...] > <ruoso> meh > <masak> that's strange. > <masak> that one didn't involve any 'whan' clause. > <masak> no smartmatching. > <masak> I might have misdiagnosed the bug in my summary, then. > * masak corrects
Actual summary should be "CATCH blocks eats return values from subs". $ ../../parrot perl6.pbc -e 'sub bar { 1; CATCH { } }; say bar()' Null PMC access in isa() -- Bacek.