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


Golf'd to:

role A { method m {} }
role B does A {}
class C does A does B {}

Method 'm' must be resolved by class C because it exists in multiple roles
(A, B)

Note that the same issue leads also to:

role A { has $a }
role B does A {}
class C does A does B {}

Attribute '$!a' conflicts in role composition

A number of devs discussed this on #perl6 with the useful part starting
here:

https://irclog.perlgeek.de/perl6/2017-01-24#i_13982402

and ending with jnthn's thoughts.

Reply via email to