# New Ticket Created by "Vasily Chekalkin" # Please include the string: [perl #60426] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60426 >
Hello. <bacek> rakudo: enum Foo<get_string>; <polyglotbot> OUTPUT[A method named 'get_string' already exists in class ''. It may have been supplied by a role.current instr.: '_block15' pc -339673149 ((unknown file):-1)called from Sub '_block15' pc 169 (EVAL_11:55)called from Sub 'parrot;PCT;HLLCompiler;evalpmc' pc 804 ..(src/PCT/HLLCompiler.pir:468)called from Sub 'parrot;PCT;HLLCompiler;compile' pc 4... <bacek> rakudo's enums are really bad... <bacek> rakudo: enum Foo<pick>; <polyglotbot> RESULT[Null PMC access in find_method()current instr.: '_block14' pc 25 (EVAL_15:12)called from Sub 'parrot;PCT;HLLCompiler;eval' pc 866 (src/PCT/HLLCompiler.pir:501)called from Sub 'parrot;PCT;HLLCompiler;evalfiles' pc 1141 (src/PCT/HLLCompiler.pir:631)called from Sub ..'parrot;PCT;HLLCompiler;command_line' pc 1320 (src/PCT/HLLCompiler.pir:72... <bacek> really really bad... -- Bacek.