On Mon Apr 20 07:58:42 2009, masak wrote:
> <masak> rakudo: sub foo() { return class { method Str() { return "OH
> HAI" }; method Num() { return 42 } } }; say ~foo; say +foo
> <p6eval> rakudo 480902: OUTPUT«!ANON10Class !ANON10 already
> registered! [...]
> <jnthn> Ugh. Anonymous classes are...not quite so anonmous as would be
> good.
> <jnthn> file masakbug
> <jnthn> *rakudobug
> * masak files masakbug :)
Just fixed anonymous classes up in master and this issue is now happily
gone away...
> sub foo() { return class { method Str() { return "OH HAI" }; method
Num() { return 42 } } }; say foo.Str; say foo.Num
OH HAI
42
Unfudged the spectest; closing ticket.
Thanks,
Jonathan