Skip to content

Alternative trailing comma handling #14757

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

Merged
merged 1 commit into from
Mar 23, 2022

Conversation

odersky
Copy link
Contributor

@odersky odersky commented Mar 23, 2022

Do it in Lexer but take into account whether commas are expected
in current region.

Also fixes an issue in #14741 regarding import parsing.

Do it in Lexer but take into account whether commas are expected
in current region.

Also fixes an issue in scala#14741 regarding import parsing.
Copy link
Contributor

@pikinier20 pikinier20 left a comment

Choose a reason for hiding this comment

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

LGTM

@odersky odersky merged commit a2cd2c5 into scala:main Mar 23, 2022
@odersky odersky deleted the refine-trailing-commas branch March 23, 2022 14:53
@Kordyjan Kordyjan added this to the 3.1.3 milestone Aug 1, 2023
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.

4 participants