You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<masak> on the REPL, when I write 'role R {}', it prints 'R()'. but
when I do 'class C {}', it prints '!class_init_36'. I'm guessing
there's a metamodel explanation for that, but it feels Less Than
Pretty.
<pmichaud> I'm guessing the class code is returning the closure
instead of the class. That's likely a bug.
<moritz_> rakudo: my $x = class C { }; say $x.WHAT
<p6eval> rakudo 1576d4: OUTPUT«Code()»
<moritz_> there you go
<pmichaud> yes, exactly.
<moritz_> same bug without REPL
* masak submits rakudobug
<masak> on the REPL, when I write 'role R {}', it prints 'R()'. but
when I do 'class C {}', it prints '!class_init_36'. I'm guessing
there's a metamodel explanation for that, but it feels Less Than
Pretty.
<pmichaud> I'm guessing the class code is returning the closure
instead of the class. That's likely a bug.
<moritz_> rakudo: my $x = class C { }; say $x.WHAT
<p6eval> rakudo 1576d4: OUTPUT«Code()»
<moritz_> there you go
<pmichaud> yes, exactly.
<moritz_> same bug without REPL
* masak submits rakudobug
Migrated from rt.perl.org#76270 (status was 'resolved')
Searchable as RT76270$
The text was updated successfully, but these errors were encountered: