Skip Menu |
Report information
Id: 121943
Status: open
Priority: 0/
Queue: perl6

Owner: Nobody
Requestors: masak <cmasak [at]>

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

To: rakudobug [...]
Date: Thu, 22 May 2014 10:45:40 +0200
From: Carl Mäsak <cmasak [...]>
Subject: [BUG] Can't 'last' from the first label in a multi-labeled loop in Rakudo
Download (untitled) / with headers
text/plain 340b
<masak> m: L1: L2: loop { last L1 }; say "alive" <camelia> rakudo-moar 900f0b: ( no output ) <masak> m: L1: L2: loop { last L2 }; say "alive" <camelia> rakudo-moar 900f0b: OUTPUT«alive␤» * masak submits rakudobug <masak> I'm conservative in this case. I don't think there's *any* use for multiple labels on the same loop. <masak> YMMV.
RT-Send-CC: perl6-compiler [...]
Download (untitled) / with headers
text/plain 289b
Behaviour has changed for the first evaluation. It fails with X::ControlFlow now: $ perl6-m -e 'L1: L2: loop { last L1 }; say "alive"' control exception without handler in block <unit> at -e:1 $ perl6-m --version This is perl6 version 2015.10-7-gca1cf74 built on MoarVM version 2015.10

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

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