Open p6rt opened 8 years ago
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/OPrlVUxZpeTwo terms in a rowat /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.
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! )
Migrated from rt.perl.org#127840 (status was 'new')
Searchable as RT127840$