On Tue, Aug 23, 2016 at 10:28:26AM -0700, Will Coleda via RT wrote:
> > Where the expectation is that the first call to the foo will return an
> > undefined value; in nom, it returns 0.
> 
> This behavior has been in place for years now, since before Christmas.
> 
> Tagging [@LARRY] to get a ruling on whether the test is any good.

The relevant (offending?) line in the source code is 
https://github.com/rakudo/rakudo/blob/nom/src/core/Any.pm#L444 :

   multi postfix:<++>(Mu:U $a is rw) { $a = 1; 0 }

Pm

Reply via email to