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
'callsame' in postcircumfix:<( )> method in routine trait does nothing in Rakudo #3088
Comments
From @masak<hoelzro> callsame from method in a role will call the original method multi trait_mod:<is>(Routine:D $r, :$pre-check) { say "result = $result"; $result sub mysub is pre-check { mysub(); <hoelzro> so how do I do this? =) $ perl6 that-gist-there <masak> huh. |
From @hoelzroHi everyone, I spent a lot of time yesterday looking at this bug, and I believe I've Location of invoke hook stuff: search BOOTSTRAP.pm for Code.HOW. Attempt #1 to add postcircumfix:<( )> to Code.pm: Attempt #2: https://gist.github.com/hoelzro/5272341 -Rob |
From @skidsThis is a very old ticket and we no longer have postcircumfix:<( )> If you redo the example to use CALL-ME it still does not call the $ perl6 -e 'class S { method x { "Sx".say } }; role T { method x { "Sy".say; callsame } }; class V is S does T { }; my $v = V.new; $v.x' ...so while there may still be an "issue" if there's no way to "do that" |
The RT System itself - Status changed from 'new' to 'open' |
Migrated from rt.perl.org#117377 (status was 'open')
Searchable as RT117377$
The text was updated successfully, but these errors were encountered: