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


m: role A { mutli method BUILD() { say "A" } }; class B does A { method
BUILD { say "B" } }; B.new # lol
rakudo-moar 646b90: OUTPUT«===SORRY!===␤Cannot find method 'collisions'␤»

m: role A { mutli method BUILD() { say "A" } }; A.new
rakudo-moar 646b90: OUTPUT«===SORRY!=== Error while compiling
/tmp/1eXnCAt3OX␤Undeclared routine:␤    mutli used at line 1␤␤»

So it only happens when the role is consumed by a class.

Reply via email to