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
When class D::E is defined before class D, having just one of them declared in 'my' scope apparently erases D::E #4486
Comments
From @ShimmerFairy $ perl6 -e 'class D::E { method foo { "foo" } }; class D { method bar { "bar" } }; say D.bar; say D::E.foo' Actually thrown at: Actually thrown at: Actually thrown at: But put D before D::E : $ perl6 -e 'class D { method bar { "bar" } }; class D::E { method foo { "foo" } }; say D.bar; say D::E.foo' As discovered by YuriPanda at http://irclog.perlgeek.de/perl6/2015-08-24#i_11109804 , what's shown above appears to be the root of the issue. |
From @labsterI think I discovered this 3 years ago. And if I recall correctly, the answer was something like DIHWIDT. Maybe a real bug, but I don't feel confident about expecting a leaf of a namespace to still exist after you redefined the root node. Consider doing this instead: On Mon Aug 24 16:36:44 2015, lue wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#125891 (status was 'open')
Searchable as RT125891$
The text was updated successfully, but these errors were encountered: