# New Ticket Created by "Carl Mäsak"
# Please include the string: [perl #57126]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=57126 >
<masak> perl6: my sub foo() {}
<polyglotbot> OUTPUT[Null PMC access in type()
current instr.: 'parrot;Perl6;Grammar;Actions;scope_declarator' pc
112750 (src/gen_actions.pir:6116)
called from Sub 'parrot;Perl6::Grammar;scope_declarator' pc 77148
(src/gen_grammar.pir:22424)
called from Sub 'parrot;Perl6::Grammar;noun' pc 64317
(src/gen_grammar.pir:17946)
called from Sub 'parrot;Perl6::Gramma...
[...]
<jonathan> Ouch. That is meant to say something like "Lexical subs not
yet implemented"
<jonathan> I know it's meant to because I put the error message in to say so!
[...]
<masak> ah, here: src/parser/actions.pm:1984
<masak> $/.panic("Lexically scoped subs not yet implemented.");
<jonathan> Yeah
<jonathan> But why we're not getting that, and are getting the null
PMC access instead, I don't know.
[...]
<jonathan> Odd.
<jonathan> OK, file a ticket.
* masak files