On Wed Dec 31 08:44:02 2008, masak wrote: > Rakudo r34703: > > $ perl6 -e 'my $year; $year //= 2009' > get_iter() not implemented in class 'Integer' > > This looks like a misparse, interpreting '//= 2009' as '// =2009'. > Tried just adding it to generate as a meta-op, then realized that we're using pasttype def_or for // so there's no infix://. So I hand-rolled a //= for now, but are we really going to get away with using pasttype for //? I'm thinking that // will want to be overloadable, so needs to become a multi infix:<//>? If there's agreement I'll re-do it that way (then we can probably have [//] too...)
Anyway, it's testable now. OH HAI, moritz... Jonathan