Skip to content

Conversation

dylansturg
Copy link
Contributor

@dylansturg dylansturg commented Feb 6, 2020

The groups around compound exprs were causing .break(.close,...) tokens to be inserted before the trailing comma & colon in these situations. This is pretty much the same problem as #139 so I have extended that solution to include other kinds of closing or trailing delimiters.

Fixes SR-12110.

Copy link
Member

@allevato allevato left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@allevato allevato merged commit 44cfdf8 into swiftlang:master Feb 6, 2020
@dylansturg dylansturg deleted the absorb_more_tokens branch February 12, 2020 20:34
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