# New Ticket Created by  Aleks-Daniel Jakimenko-Aleksejev 
# Please include the string:  [perl #132251]
# in the subject line of all future correspondence about this issue. 
# <URL: https://rt.perl.org/Ticket/Display.html?id=132251 >


This works:

Code:
class Foo { method bar() { say 42 } }; Foo.new."bar"()

Result:
42


But this does not:

Code:
class Foo { method bar() { say 42 } }; Foo.new.“bar”()

Result:
===SORRY!=== Error while compiling -e
Malformed postfix call
at -e:1
------> oo { method bar() { say 42 } }; Foo.new.⏏“bar”()



It should.

Reply via email to