Also see a follow-up discussion: http://irclog.perlgeek.de/perl6/2015-07-31#i_10986122
On Fri, Jul 31, 2015 at 11:09 PM, perl6 via RT <[email protected] > wrote: > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "^roles does not always list all of the roles", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [perl #125731]. > > Please include the string: > > [perl #125731] > > in the subject line of all future correspondence about this issue. To do > so, > you may reply to this message. > > Thank you, > [email protected] > > ------------------------------------------------------------------------- > Code: > role A { }; > role B does A { }; > B.new.^roles.say; > > Result: > (B) > > As skids points out, the expected result should be "(A) (B)" or "(B::A) > (B)". > > This bug was found by ChoHag. See IRC log: > http://irclog.perlgeek.de/perl6/2015-07-31#i_10985350 > >
