# New Ticket Created by Pepe Schwarz # Please include the string: [perl #127840] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=127840 >
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.