On Thu, Jan 15, 2009 at 10:08:22AM -0600, Patrick R. Michaud wrote: : On Wed, Jan 14, 2009 at 10:00:33PM -0800, Carl Mäsak wrote: : > <TimToady> rakudo: my $t = 5; say $t.i : > <p6eval> rakudo 35576: OUTPUT«Method 'i' not found for invocant of : > class 'Int [...] : > <masak> TimToady: should that work? : > <TimToady> think so : > * masak submits rakudobug : : Rakudo doesn't yet recognize the dotty form of postfix operators -- : that will likely come when we have protoregexes in PGE. : : Just to verify: $t.i should always parse as postfix:<i> and : never as a method call here? (That's what STD.pm currently : does, if I'm reading it correctly.)
$t.i is now always a method, and you must use ($t)i or $t\i for postfix. Larry