On Tue Mar 17 00:06:31 2009, masak wrote:
> <frooh> rakudo: my $frew; $frew ||= 5; say $frew;
> <p6eval> rakudo 84920e: OUTPUT«get_iter() not implemented in class
> 'Integer[...]
> <frooh> rakudo: my $frew; $frew //= 5; say $frew;
> <p6eval>      rakudo 84920e: OUTPUT«5␤»
> <frooh> weird
> <frooh> I wonder if maybe it's a parsing error
> <jnthn> frooh: Yes
> <jnthn> frooh: It's parsing it as infix:<||> prefix:<=>
> <frooh> ah, k
> <jnthn> (Because we didn't define a ||=)

I implemented ||= in git 75cd4a8 (as well as &&= and I also corrected
//= so now it short-circuits), plus un-fudged the relative spectests.

Thanks,

Jonathan

Reply via email to