Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
xx-repeated expression enclosed in parens can't access the topic $_ of a statement modifier #4731
➜ .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
On Thu, 05 Nov 2015 01:58:17 -0800, firstname.lastname@example.org wrote:
Thank you for the report. This is now fixed.