New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
error on typo #4446
Comments
From @lizmat[11:37:50] <FROGGS> m: role A { mutli method BUILD() { say "A" } }; class B does A { method BUILD { say "B" } }; B.new # lol Expanding on this a bit more: $ 6l 'role A { mutli method BUILD() { say "A" } }; class B does A { } }' It looks like $to_compose_meta in src/Perl6/Metamodel/RoleToClassApplier.nqp, line 63 is not of a class that has a .collisions method (it *is* instantiated, but as WHAT I have not been able to determine). Compare this with the error where we just have the role definition: $ 6l 'role A { mutli method BUILD() { say "A" } }' at src/gen/m-CORE.setting:15420 (/Users/liz/Github/rakudo.moar/install/share/perl6/runtime/./CORE.setting.moarvm:throw:193) One would expect the above code to do the same. Liz |
From @FROGGSm: role A { mutli method BUILD() { say "A" } }; class B does A { method m: role A { mutli method BUILD() { say "A" } }; A.new So it only happens when the role is consumed by a class. |
From @lizmatPlease merge with #125716 or vice-versa :-)
|
The RT System itself - Status changed from 'new' to 'open' |
From @AlexDanielI guess this is not better, but it's progress: ===SORRY!=== Error while compiling -e On 2015-07-29 04:08:02, elizabeth wrote:
|
The RT System itself - Status changed from 'new' to 'open' |
Still the same behavior with 2012.12 |
Migrated from rt.perl.org#125716 (status was 'open')
Searchable as RT125716$
The text was updated successfully, but these errors were encountered: