# New Ticket Created by grond...@yahoo.fr # Please include the string: [perl #115850] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org:443/rt3/Ticket/Display.html?id=115850 >
class Foo { has $.str; method postcircumfix:<( )>($i, $k) { $.str.substr: $i, $k } } my Foo $x .= new: :str("hello"); say $x(2, 1) rakudo bf472b: OUTPUT«Not enough positional parameters passed; got 2 but expected 3 in method postcircumfix:<( )> at /tmp/AbMJCtzaIi:1 in at src/gen/BOOTSTRAP.pm:852 in any at src/gen/BOOTSTRAP.pm:836 in block at /tmp/AbMJCtzaIi:1» ..niecza v22-36-g19fa03a: OUTPUT«l»