xx-repeated expression enclosed in parens can't access the topic $_ of a statement modifier #4731
Comments
From @smlsThis works: ➜ .pick xx 10 given 1..6 But putting parens around the xx operation, breaks it: ➜ (.pick xx 10) given 1..6 The problem only seem to occur when $_ was set by a statement modifier - not when it was assigned to manually or set by the block form of 'given'. An example of a useful idiom which relies on putting parens around an xx operation, is |
From @smlsLikely related to RT #128054. |
From @smlsStill present in This is Rakudo version 2017.05-134-g0c5fe56cc built on MoarVM version 2017.05-25-g62bc54e9 |
From @zoffixznetOn Thu, 05 Nov 2015 01:58:17 -0800, smls75@gmail.com wrote:
Thank you for the report. This is now fixed. Fix: rakudo/rakudo@1ee89b5 |
The RT System itself - Status changed from 'new' to 'open' |
@zoffixznet - Status changed from 'open' to 'resolved' |
Migrated from rt.perl.org#126569 (status was 'resolved')
Searchable as RT126569$
The text was updated successfully, but these errors were encountered: