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

RFC: fix #26137, change parsing of unary ops on parenthesized expressions #26154

Merged
merged 3 commits into from
Feb 27, 2018

Commits on Feb 23, 2018

  1. Configuration menu
    Copy the full SHA
    af4c005 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d6b75d1 View commit details
    Browse the repository at this point in the history
  3. improve rule for distinguishing tuples (arg lists) from parenthesized…

    … blocks
    
    a parenthesized expression is a tuple when at least one of these is true:
    
    - it is empty
    - there is a comma
    - it begins with `x...` and isn't just `(x...)`
    - it begins with `(;` (corresponding to the positional part being empty)
    
    add line numbers to blocks written as `(a; b; c)`
    JeffBezanson committed Feb 23, 2018
    Configuration menu
    Copy the full SHA
    952361f View commit details
    Browse the repository at this point in the history