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

Overly eager check for type-ness of a method call with #5213

Open
p6rt opened this issue Apr 5, 2016 · 2 comments
Open

Overly eager check for type-ness of a method call with #5213

p6rt opened this issue Apr 5, 2016 · 2 comments
Labels

Comments

@p6rt
Copy link

p6rt commented Apr 5, 2016

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

Searchable as RT127840$

@p6rt
Copy link
Author

p6rt commented Apr 5, 2016

From @peschwa

16​:41 < psch> m​: class A { method B { "meth b" } }; say B A​:
16​:41 <+camelia> rakudo-moar 600eb5​: OUTPUT«meth b␤»
16​:41 < psch> m​: class A { method B { "meth b" } }; class B { }; say B A​:
16​:41 <+camelia> rakudo-moar 600eb5​: OUTPUT«===SORRY!=== Error while compiling /tmp/OPrlVUxZpe␤Two terms in a row␤at /tmp/OPrlVUxZpe​:1␤------> hod B { "meth b" } }; class B { }; say B⏏ A​:␤ expecting any of​:␤ infix␤ infix stopper␤ postfix␤ …»

The presence of a type with the same name as the method the user wants to call in this specific form does not seem as a sufficient argument to forbid using this form.

@p6rt
Copy link
Author

p6rt commented Jul 10, 2016

From @zoffixznet

Still present in Rakudo version 2016.06-154-g55c359e built on MoarVM version 2016.06-9-g8fc21d5

.oO( This notation... Kill it! Kill it with fire! )

@p6rt p6rt added the Bug label Jan 5, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant