20:11 <@moritz_> rakudo: sub a { state $x //= 3; $x++; say $x }; a(); a()
20:12 < p6eval> rakudo 6c43f9: OUTPUT«44»
Although that's better written as 'state $x = 3', it should IMHO give
the result 4\n5\n, not 4\n4\n
Cheers,
Moritz
> sub a { state $x //= 3; $x++; say $x }; a(); a()
4
5
Plus spectest for //= and state interaction unfudged.
Thanks,
Jonathan