# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #60992] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=60992 >
<masak> rakudo: class A { method WHAT { "B" } }; A.new.WHAT.say <p6eval> rakudo 33440: OUTPUT[B] * masak cackles evilly <pmichaud> we don't handle .WHAT properly yet. <masak> pmichaud: but that is correct! :) <pmichaud> masak: no, it's actually wrong. <pmichaud> A.new.WHAT.say # 'A' <pmichaud> A.new.'WHAT'.say # 'B' <masak> pmichaud: WHAT? :) <masak> pmichaud: I just redefined .WHAT, shouldn't Perl 6 let me do that? <ruoso> masak, .WHAT is a macro <pmichaud> yes, but to access that method you have to use ."WHAT" <masak> aha. <pmichaud> because... what ruoso said. * masak had forgotten that * masak files rakudobug, then