new behavior:

12:16 <diakopter> rakudo: class A { method foo { say "A" } }; class B is A { 
                  method foo { say "B"; nextsame } }; my &x = 
                  B.WALK(:name<foo>)[0]; &x.wrap: { say "wrap"; nextsame }; 
                  x(B.new)
12:16 <camelia> rakudo-moar 61d231: OUTPUT«wrap␤B␤Attempt to return outside of 
                any Routine␤  in block <unit> at /tmp/tmpfile line 1␤␤»

Reply via email to