New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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@1ee89b54074e80c |
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: