[perl #67942] 'enum Foo %h' calls sub h() and then throws Null PMC access

2011-10-10 Thread Will Coleda via RT
On Tue Jul 27 20:01:29 2010, coke wrote: > On Mon Jul 27 11:24:12 2009, moritz wrote: > > 20:21 <@jnthn> rakudo: my %h; sub h { say "srsly wtf" }; enum Foo > %h; > > 20:21 < p6eval> rakudo 4c31fb: OUTPUT«srsly wtf␤Null PMC access in > > get_number()␤in Main (/tmp/RYyqcc1SKd:2)␤» > >

[perl #67942] 'enum Foo %h' calls sub h() and then throws Null PMC access

2010-07-27 Thread Will Coleda via RT
On Mon Jul 27 11:24:12 2009, moritz wrote: > 20:21 <@jnthn> rakudo: my %h; sub h { say "srsly wtf" }; enum Foo %h; > 20:21 < p6eval> rakudo 4c31fb: OUTPUT«srsly wtf␤Null PMC access in > get_number()␤in Main (/tmp/RYyqcc1SKd:2)␤» > > Neither should h() be called, nor should we see a

[perl #67942] 'enum Foo %h' calls sub h() and then throws Null PMC access

2009-07-28 Thread via RT
# New Ticket Created by Moritz Lenz # Please include the string: [perl #67942] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=67942 > 20:21 <@jnthn> rakudo: my %h; sub h { say "srsly wtf" }; enum Foo %h; 20:21 < p6eval> rak