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
Allow Roles to require private methods #4397
Comments
From @japhbSince Roles compose their private methods into a Class (and thus Roles can See http://irclog.perlgeek.de/perl6/2015-07-11#i_10881271 : 19:12 japhb m: role A { method !foo { say "success!" } }; role B { method And then http://irclog.perlgeek.de/perl6/2015-07-13#i_10886690 : 12:17 yoleaux 11 Jul 2015 21:02Z <japhb> jnthn: What are your thoughts on |
From @moritzHi, On Mon Jul 13 08:30:23 2015, gjb@google.com wrote:
Fixed with rakudo/rakudo@6c2ad869fc and test added with Raku/roast@2edb3c91da This works now: role A { method !foo(A:D:) { say "success!" } }; C.new.bar(); Putting method bar into role B does *not* work, it executes the stub code. But that is a separate bug (properly over-eager optimization), which I'll try to fix, and if I fail, I hope I'll remember to file a separate issue. Cheers, |
The RT System itself - Status changed from 'new' to 'open' |
@moritz - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#125606 (status was 'resolved')
Searchable as RT125606$
The text was updated successfully, but these errors were encountered: