On Sat, Jan 08, 2011 at 02:59:38PM -0800, Carl Mäsak wrote:
> <masak> rakudo: my &r = &return; sub f { &return := -> $v { say
> "LOL!"; &r($v) }; return(42) }; say f [23:45]
> <p6eval> rakudo e7e9d5:
> OUTPUT«LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LOL!LO…
> [...]FWIW, I suspect the correct answer here is that Rakudo should complain about the attempt to rebind &return. (Declaring a new &return ought to be okay though.) Pm
