# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #76270] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76270 >
<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