# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #81278]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=81278 >


On Rakudo 2010.12:

use v6;
sub f($x) {
    multi return($nv) {
        nextwith($nv /2);
    }

    return $x;
}
say f 6

I'd expect that to output 3\n, but instead I get

Null PMC access in clone()
  in 'return' at line 1
  in 'f' at line 7:test.pl
  in main program body at line 9:test.pl

which is sad, because it prevents me from using a "neat" and evil trick.

Reply via email to