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

Owner: Nobody
Requestors: cpan [at] zoffix.com
Cc:
AdminCc:

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



Subject: [SINK] `when` fails to sink stuff when it's not in a `given`
Download (untitled) / with headers
text/plain 349b
23:20 m: given 42 { when *.so {Failure.new} } 23:20 camelia rakudo-moar 9d497e: OUTPUT: «Failed␤ in block <unit> at <tmp> line 1␤␤Actually thrown at:␤ in block <unit> at <tmp> line 1␤␤» 23:20 IOninja This does sink it. 23:20 m: { when *.so {Failure.new} } 23:20 camelia rakudo-moar 9d497e: ( no output ) 23:20 IOninja but not this
RT-Send-CC: perl6-compiler [...] perl.org
Download (untitled) / with headers
text/plain 151b
Sorry, wrong example of failure mode. It seems to happen in `while`: m: while $++ < 5 { when {True} {Failure.new} } rakudo-moar 9d497e: ( no output )


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