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
Can't declare a class A after importing a file which defines a type A::B in Rakudo #1853
Comments
From @masak$ cat A/B.pm $ perl6 -e 'use A::B; class A {}' $ perl6 -e 'class A::B {}; class A {}; say "alive"' In the failing program, if 'class A::B {}' is replaced by 'role A::B |
From @masak<pmichaud> workaround: class A { ... }; use A::B; class A { # definitions } # maybe? |
@masak - Status changed from 'new' to 'open' |
From @cokeOn Fri Jun 18 07:36:28 2010, masak wrote:
This works now: $ cat A/B.pm Closable with tests. |
From @moritzThis is tested in t/spec/S10-packages/joined-namespaces.t. |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#75852 (status was 'resolved')
Searchable as RT75852$
The text was updated successfully, but these errors were encountered: