# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #74592] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74592 >
<ash_> rakudo: my $x = package {...} <p6eval> rakudo 7d43ee: OUTPUT«error:imcc:syntax error, unexpected ')' (')') [...] * masak submits rakudobug <masak> rakudo: package {} <p6eval> rakudo 7d43ee: ( no output ) <masak> rakudo: my $x = package Foo {} <p6eval> rakudo 7d43ee: OUTPUT«Null PMC access in can() [...] <masak> ooh, two in one! <jnthn> Well, same underlying issue <jnthn> Because I know that Rakudo has no concept of non-our package <masak> rakudo: my $x = our package { ... } <p6eval> rakudo 7d43ee: OUTPUT«error:imcc:syntax error, unexpected ')' (')') [...] <jnthn> That should complain that an our-scoped package should have a name, I guess. <masak> rakudo: my $x = our package Foo { ... } <p6eval> rakudo 7d43ee: OUTPUT«error:imcc:syntax error, unexpected ')' (')') [...] <masak> and that one? <jnthn> To clarify what I wrote before <jnthn> Rakudo has no concept of non-our package or any package not in sink context. <masak> ah. <jnthn> class and role do know what to do. <jnthn> In such cirumstances.