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

Do not remove trailing comma from multi-line macro/def parameters (not yet enabled) #14075

Merged
merged 3 commits into from Dec 12, 2023

Conversation

Blacksmoke16
Copy link
Member

This behavior is behind the def_trailing_comma flag as per #13002. Once we go to remove the flag, will need to go and update all the existing formatter specs that it's not currently enabled for. At that point can probably just remove the specs I added as pretty sure they're handled via other assertions.

Fixes #13169

@straight-shoota straight-shoota added this to the 1.11.0 milestone Dec 8, 2023
@straight-shoota straight-shoota removed this from the 1.11.0 milestone Dec 10, 2023
@straight-shoota straight-shoota added this to the 1.11.0 milestone Dec 11, 2023
@straight-shoota straight-shoota merged commit 4b7fa0c into crystal-lang:master Dec 12, 2023
@Blacksmoke16 Blacksmoke16 deleted the trailing-comma branch December 12, 2023 14:06
@straight-shoota straight-shoota changed the title Do not remove trailing comma from multi-line macro/def parameters Do not remove trailing comma from multi-line macro/def parameters (not yet enabled) Jan 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Trailing commas for multiline def / macro / fun parameter lists
3 participants