Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Curly quotes not supported in postfix call syntax ( Foo.new.“bar”() ) #6589

Open
p6rt opened this issue Oct 9, 2017 · 1 comment
Open

Comments

@p6rt
Copy link

p6rt commented Oct 9, 2017

Migrated from rt.perl.org#132251 (status was 'new')

Searchable as RT132251$

@p6rt
Copy link
Author

p6rt commented Oct 9, 2017

From @AlexDaniel

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant