# New Ticket Created by Paweł Pabian # Please include the string: [perl #76472] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=76472 >
WORKS: $ perl6 -e 'role Foo { method foo {666.say;}; }; class A does Foo {}; A.new.foo' 666 FAILS: $ perl6 -e 'role Foo { method foo {say 666;}; }; class A does Foo {}; A.new.foo' Could not find sub &say in 'foo' at line 1 in main program body at line 1