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
Parser confused when word-based conditionals are in a subroutine call with parentheses #5442
Comments
From @zoffixznetThe parse error occurs with alphabetic infix between the s/// but seems to be fine with a symbol-based infix: <Zoffix> m: say(s/^// and s/^//) These are parsed fine: |
From @zoffixznetThe s/// appears not to be involved ( http://irclog.perlgeek.de/perl6-dev/2016-07-10#i_12816423 ): <lucasb> m: sub f {}; f(1 or 2) |
From @zoffixznetNot a bug as per http://irclog.perlgeek.de/perl6-dev/2016-07-10#i_12816463 The or is lower precedence and the invocation parentheses aren't grouping parentheses so the `or` ends up or'ing the unclosed `sub-call(` |
@zoffixznet - Status changed from 'new' to 'rejected' |
Migrated from rt.perl.org#128589 (status was 'rejected')
Searchable as RT128589$
The text was updated successfully, but these errors were encountered: