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
Variable declaration inside statement_modifier for inside junction triggers bogus redeclaration error in Rakudo #2648
Comments
From @masak<masak> nom: sub balanced { all((my $c += $_ eq "[" ?? 1 !! -1) < 0 |
From @FROGGSit's at least not the same problem anymore: <FROGGS> r: all(my $c for ()) |
The RT System itself - Status changed from 'new' to 'open' |
From @perlpilotI'm not sure this is a bug. The postfix for is a statement modifier, and it's being used in an argument list context. For it to parse right, you'd have to do something like this: all( do { my $c for () } ); or even all( (my $c for ()) ); I didn't test the version with the balanced sub, but I guess it would require something similar. -Scott On Wed Feb 15 06:37:15 2012, masak wrote:
-- |
From @AlexDanielThis wasn't updated in a while. As of today (2017.11,HEAD(e5b660e)), it still complains about final ) like mentioned in one of the recent comments. And yes, this tickets seems to be rejectable. On 2015-07-20 09:27:25, duff wrote:
|
Migrated from rt.perl.org#110820 (status was 'open')
Searchable as RT110820$
The text was updated successfully, but these errors were encountered: