Skip to content

Conversation

@arturjpv
Copy link
Member

Trailing commas were already allowed in enums, but it seems we need to allow them also in parameters lists.

Developers are using this already.

@arturjpv arturjpv requested a review from tvandijck as a code owner February 11, 2025 13:38
@arturjpv arturjpv requested a review from webbju February 11, 2025 13:38
Copy link
Member

@webbju webbju left a comment

Choose a reason for hiding this comment

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

lgtm based on initializerClause (Comma initializerClause)* Comma?; // I *really* don't like that trailing commas are a thing in AS... 😄

@arturjpv arturjpv merged commit 89bbc47 into main Feb 11, 2025
1 check passed
@arturjpv arturjpv deleted the feature/trailing-comma-args branch February 11, 2025 14:40
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