Skip Menu |
Report information
Id: 124007
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: raydiak [at] cyberuniverses.com
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Date: Fri, 6 Mar 2015 22:34:55 +0000
From: raydiak [...] cyberuniverses.com
Subject: [BUG] method delegation doesn't work in roles
To: rakudobug [...] perl.org
Download (untitled) / with headers
text/plain 311b
As seen at http://irclog.perlgeek.de/perl6/2015-03-06#i_10237611 : r: role R { method foo () handles <bar> { } } rakudo-moar 1b74e4: OUTPUT«===SORRY!=== Error while compiling /tmp/tmpfile␤Method 'add_method' not found for invocant of class 'Perl6::Metamodel::GenericHOW'␤at /tmp/tmpfile:1␤------> ␤»
Still reproducible (2017.11,HEAD(e5b660e))

On 2015-03-06 14:35:06, raydiak@cyberuniverses.com wrote:
Show quoted text
> As seen at http://irclog.perlgeek.de/perl6/2015-03-06#i_10237611 :
>
> r: role R { method foo () handles <bar> { } }
> rakudo-moar 1b74e4: OUTPUT«===SORRY!=== Error while compiling
> /tmp/tmpfile␤Method 'add_method' not found for invocant of class
> 'Perl6::Metamodel::GenericHOW'␤at /tmp/tmpfile:1␤------> ␤»




This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org