Skip Menu |
Report information
Id: 127840
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: peschwa [at] gmail.com
Cc:
AdminCc:

Severity: (no value)
Tag: Bug
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: [BUG] Overly eager check for type-ness of a method call with
Download (untitled) / with headers
text/plain 653b
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.
Download (untitled) / with headers
text/plain 148b
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! )


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org