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