# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #67976] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=67976 >
The scenario is simple: modules A.pm and B.pm both use the statement declaration form; the former includes the latter. Rakudo dies. $ cat A.pm use B; role A; $ cat B.pm role B; $ perl6 A.pm Unable to parse role definition at line 3, near ";\n" in Main (src/gen_setting.pm:1490) I'd expect the restriction on statement-form declarations to be per-file. So does STD.pm, it seems.