Skip Menu |
Report information
Id: 130980
Status: new
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: elizabeth <liz [at] dijkmat.nl>
Cc:
AdminCc:

Severity: (no value)
Tag: (no value)
Platform: (no value)
Patch Status: (no value)
VM: (no value)



Subject: Thunked xx not calling pull-one deep enough?
From: Elizabeth Mattijsen <liz [...] dijkmat.nl>
To: rakudobug [...] perl.org
Date: Sat, 11 Mar 2017 12:00:52 +0100
Download (untitled) / with headers
text/plain 652b
$ 6 'my $a = 0; ($a++,) Zxx 42; say $a’ 0 $ 6 'my $a = 0; ($a++,) Xxx 42; say $a’ 0 Before https://github.com/rakudo/rakudo/commit/1754dc5f7e , this would have yielded 42 in both cases. However, this was a side-effect (pun intended) of thunk xx 42 being eager internally. Since this commit, it is no longer, and this case the inner thunk does not get called when in a sink context. This *could* be a bug, but I’m not sure. Since the commit made 4 spectests that assume the old behaviour fail, it seemed wise to make a ticket before fudging the tests. Please close this bug report if it’s not a bug, and remove/adapt the associated tests.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

For issues related to this RT instance (aka "perlbug"), please contact perlbug-admin at perl.org