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

Owner: Nobody
Requestors: peschwa [at] gmail.com
Cc:
AdminCc:

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



Subject: [BUG] Inconsistent behavior of state variables across backends
Download (untitled) / with headers
text/plain 532b
JVM and MoarVM behave differently with regards to state variables, as in the following example: 10:14 < psch> r: sub f { loop { say $++; last } }; f;f;f;f; 10:14 < camelia> rakudo-moar 8aaffa: OUTPUT«0␤0␤0␤0␤» 10:14 < camelia> ..rakudo-jvm cd19db: OUTPUT«0␤1␤2␤3␤» This difference is the underlying issue in ticket #126528. http://irclog.perlgeek.de/perl6-dev/2016-07-18#i_12859256 and onward has some discussion regarding behavior, although no decision which of those two is or should be considered correct.


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