Skip to content

Add support for trailing commas - #1416

Merged
jiribenes merged 6 commits into
mainfrom
jiribenes/parser/trailing
Jul 31, 2026
Merged

Add support for trailing commas#1416
jiribenes merged 6 commits into
mainfrom
jiribenes/parser/trailing

Conversation

@jiribenes

Copy link
Copy Markdown
Contributor

Continues the work of #873 and #900 by allowing trailing commas everywhere*.

*The single exception being (x,) and (Int,) which would look like singleton tuples, but are actually groupings (that is, equivalent to (x) and (Int)) -- we have a special recovered error for those.

@jiribenes
jiribenes marked this pull request as ready for review July 31, 2026 10:52
@jiribenes
jiribenes merged commit 3a7b154 into main Jul 31, 2026
6 of 7 checks passed
@jiribenes
jiribenes deleted the jiribenes/parser/trailing branch July 31, 2026 22:25
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.

1 participant