New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
custom declarator examples in S12 don't work (nested packages) #4639
Comments
From @LLFournhttp://design.perl6.org/S12.html#Custom_Meta-objects my module EXPORTHOW::DECLARE { } This currently throws "cannot modify an immuteable my package EXPORTHOW::DECLARE { doesn't work either. The thing that works is: my package EXPORTHOW { Not sure if the docs are wrong or the implementation though the package Foo { package Bar { our sub foo {} }}; But if you then try in a new interpreter: package Foo { package Bar { our sub foo {} }}; TL;DR rakudo is not sure which namespace nested packages belong to |
From @LLFournI made a pasta error. The final example should be: package Foo { package Bar { our sub foo {} }}; On Sat, Oct 10, 2015 at 11:41 PM, perl6 via RT <perl6-bugs-followup@perl.org
|
Migrated from rt.perl.org#126317 (status was 'new')
Searchable as RT126317$
The text was updated successfully, but these errors were encountered: