Skip Menu |
Report information
Id: 129325
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: lloyd.fourn [at] gmail.com
Cc:
AdminCc:

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



Date: Wed, 21 Sep 2016 09:44:59 +0000
To: "rakudobug [...] perl.org" <rakudobug [...] perl.org>
From: Lloyd Fournier <lloyd.fourn [...] gmail.com>
Subject: [BUG] handles runs after role stub required method checking
Download (untitled) / with headers
text/plain 292b

role R { method f {...} }; 

class A { method f { } }; 

class B does R { has A $.a handles <f>; };

===SORRY!=== Error while compiling -e
Method 'f' must be implemented by B because it is required by a role
at -e:5

^ it should work. 



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