# New Ticket Created by Alex Jakimenko # Please include the string: [perl #126855] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=126855 >
Code: say 42 .WHAT Result: ===SORRY!=== Method call must either supply a name or have a child node that evaluates to the name Well, I think that it should work. One practical use is 「^42 .WHAT」. Some explanation: <psch> well, .WHAT anywhere in a space-y method call chain didn't work with the original commit either <psch> so it's at least not a regression <AlexDaniel> okay, interesting <psch> probably 'cause .WHAT doesn't go the normal QAST::Op(:op<callmethod>,...) route <moritz> right, it's macro-Y <psch> which fits the error message, 'cause we apparently build such an Op but don't populate the children correctly, because .WHAT isn't a method that can be called with callmethod Well, if it is not supposed to work, then at least the error message should be awesome. Right now it doesn't even mention the line number.