I guess this is not better, but it's progress:

===SORRY!=== Error while compiling -e
Could not instantiate role 'A':
Cannot invoke this object (REPR: Null; VMNull)
at -e:1



On 2015-07-29 04:08:02, elizabeth wrote:
> Please merge with #125716 or vice-versa :-)
>
> > On 29 Jul 2015, at 12:58, Tobias Leich (via RT) <perl6-bugs-
> > follo...@perl.org> wrote:
> >
> > # 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