Skip to content
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

Allow parentheses for unclear precedence with range operator #5143

Merged
merged 1 commit into from Aug 1, 2022
Merged

Allow parentheses for unclear precedence with range operator #5143

merged 1 commit into from Aug 1, 2022

Commits on Jul 28, 2022

  1. Allow parentheses for unclear precedence with range operator

    Follow-up to #4881 to allow parentheses clarifying usage of the range operator (`..`). Since for example `IntRange` has a `plus(Int)` operator function, the expression `a..b +c` could be ambiguous (but is interpreted as `a..(b + c)`). We can allow clarifying parentheses for such cases.
    dzirbel committed Jul 28, 2022
    Copy the full SHA
    d3255ab View commit details
    Browse the repository at this point in the history