orelse
+ block in a string gets the wrong $_
#6553
Comments
From @zoffixznetHere, instead of the Failure, the $_ is an Any: 13:59 m: sub x { my $ver = .lines.uc with "blazr".IO.open orelse note "meow {.exception.message}" and return 42; "meow$ver" }; dd x But if we remove the block, then we get the right $_: It's possible this issue also affects andthen and notandthen |
From @zoffixznetOn Wed, 27 Sep 2017 07:09:16 -0700, cpan@zoffix.com wrote:
Thank you for the report. This is now fixed. Fix: rakudo/rakudo@1ee89b5 |
@zoffixznet - Status changed from 'new' to 'resolved' |
Migrated from rt.perl.org#132172 (status was 'resolved')
Searchable as RT132172$
The text was updated successfully, but these errors were encountered: