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

Support trailing commas in CreateMessage and CreateStruct expressions #416

Merged
merged 1 commit into from
Feb 11, 2021

Conversation

TristonianJones
Copy link
Collaborator

Support trailing commas for CreateMessage and CreateStruct expressions:

Msg{a: b,}
{"a": "b",}

This change is consistent with how CreateList expressions support the trailing comma.

Closes #396

@TristonianJones TristonianJones merged commit ac33e83 into google:master Feb 11, 2021
@TristonianJones TristonianJones deleted the trailing-comma branch February 11, 2021 23:17
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.

Trailing comma support for map, message literals
2 participants