# New Ticket Created by "Carl Mäsak" # Please include the string: [perl #74520] # in the subject line of all future correspondence about this issue. # <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=74520 >
<masak> rakudo: class A { my method foo() { say "OH HAI" }; A::foo(A) } <p6eval> rakudo 027ff4: OUTPUT«too many positional arguments: 2 passed, 1 expected [...] <masak> rakudo: class A { my method foo() { say "OH HAI" }; A::foo() } <p6eval> rakudo 027ff4: OUTPUT«Can not find sub A::foo [...] <jnthn> The second is what I expected <jnthn> The first is...er...oops :-) <masak> jnthn: first one is a bug, that's what you mean? * masak grins <masak> rakudo: class A { method foo() { say "OH HAI" }; A.foo } <p6eval> rakudo 027ff4: OUTPUT«OH HAI» <jnthn> masak: Yes, it's a bug and I know why too. * masak submits rakudobug <jnthn> (the thingy that throws the "OMFG that doesn't exist!!1!!" thing gets upset about arguments :-))