# New Ticket Created by  Moritz Lenz 
# Please include the string:  [perl #64100]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=64100 >


S12 says:
    `'Note that C<Bool> and C<Taint> are really role names''
(and I guess that holds true for all enums). Rakudo disagrees:

$ perl6 -e 'class Foo does Bool { method a { say "b" } }; Foo.new.b'
Method '!select' not found for invocant of class ''
current instr.: '!meta_trait' pc 18097 (src/builtins/guts.pir:634)
called from Sub 'parrot;Foo;_block20' pc 113 (EVAL_19:52)
called from Sub 'parrot;PCT;HLLCompiler;evalpmc' pc 888
(src/PCT/HLLCompiler.pir:494)
called from Sub 'parrot;PCT;HLLCompiler;compile' pc 428
(src/PCT/HLLCompiler.pir:301)
called from Sub 'parrot;PCT;HLLCompiler;eval' pc 920
(src/PCT/HLLCompiler.pir:519)
called from Sub 'parrot;PCT;HLLCompiler;command_line' pc 1510
(src/PCT/HLLCompiler.pir:798)
called from Sub 'parrot;Perl6;Compiler;main' pc 21852 (perl6.pir:164)

(Same error message for '... does Bool::True')

Reply via email to