Skip to content

Conversation

@rintaro
Copy link
Member

@rintaro rintaro commented Jul 21, 2020

  • Don't skip } in parentheses or square brackets.
    When skipping foo ( bar [ baz } qux ..., we should stop at } because braces are probably "stronger" than parentheses and square brackets.

  • Don't skip } when finding { on the same line. Similar but in a different function (skipUntilTokenOrEndOfLine).

rdar://problem/65891507

* Don't skip r-brace in paren or square brackets
* Don't skip '}' when finding '{' on the same line

rdar://problem/65891507
@rintaro
Copy link
Member Author

rintaro commented Jul 21, 2020

@swift-ci Please smoke test

@rintaro rintaro requested a review from benlangmuir July 21, 2020 21:53
@rintaro rintaro merged commit 93713ca into swiftlang:master Jul 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants