On Tue Jun 29 07:01:09 2010, masak wrote:
> <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

Fixed:

> role R {}
R()
> class C {}
C()

Closable with tests.

-- 
Will "Coke" Coleda

Reply via email to