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
Our scoping in roles: either enable or error #1230
Comments
From @masak<masak> rakudo: role Maybe[::T] { role Just[T] {} }; say Maybe[Int].new() |
From @masak<masak> rakudo: role A { class B {} } jnthn++ expected the above to produce an error. |
From @cokeOn Sun Aug 16 05:49:20 2009, masak wrote:
This no longer generates an error, but the followup that the OP says -- |
The RT System itself - Status changed from 'new' to 'open' |
From @cokeOn Wed Jul 28 08:08:04 2010, coke wrote:
It's been a year again, so: ENOCHANGE. -- |
From @MouqIt seems to me that the tickets #100468 and #88750 are both consequences of this behavior, viz., role not working with our-scoped things inside of it. If, as suggested in this ticket, our-scoping is disallowed for roles, the examples from these tickets should both die with something like "Can't our-scope packages/routines inside roles." On the other hand, if our-scoping works in roles, both of the tickets would be fixed. There doesn't seem to be anything in the specifications that say which way this should go, but TimToady's response in #88750 seems to point to the latter. Perhaps #100468 and #88750 should be merged into this ticket, and the ticket renamed? |
From @jnthnOn Sun Mar 07 05:39:47 2010, masak wrote:
It does now; tested in S14-roles/namespaced.t. |
@jnthn - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#68572 (status was 'resolved')
Searchable as RT68572$
The text was updated successfully, but these errors were encountered: