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

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

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



Subject: [REGRESSION] while statement modifier returns blocks instead of running the code ( say ({ 42 } for ^3) )
Download (untitled) / with headers
text/plain 479b
Code: say ({ 42 } while $++ < 3) Result (2015.12): (42 42 42) Result (2016.02,HEAD): (-> ;; $_? is raw { #`(Block|72397000) ... } -> ;; $_? is raw { #`(Block|72397072) ... } -> ;; $_? is raw { #`(Block|72397144) ... }) If somebody wants to argue that the current behavior is right, then please consider this: Code: say ({ 42 } for ^3) Result (2015.12,HEAD): (42 42 42) Bisectable points to https://github.com/rakudo/rakudo/commit/386905f6f62f9fa3525c887a8a86fa48b22b4b35


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