# New Ticket Created by  Lloyd Fournier 
# Please include the string:  [perl #129325]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=129325 >


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.
irc: http://irclog.perlgeek.de/perl6/2016-09-21#i_13247756

Reply via email to