Skip to content

[Pratt parser] Disallow trailing commas in function call argument lists - #1443

Merged
dmitriplotnikov merged 2 commits into
masterfrom
pratt-parser-call-trailing-comma
Aug 28, 2026
Merged

[Pratt parser] Disallow trailing commas in function call argument lists#1443
dmitriplotnikov merged 2 commits into
masterfrom
pratt-parser-call-trailing-comma

Conversation

@dmitriplotnikov

Copy link
Copy Markdown
Collaborator

Disallow trailing commas in function call argument lists in the Pratt parser to match CEL grammar (exprList) and ANTLR parser behavior. Added a test case in parser_test.go to verify that foo(a,b,) produces a syntax error.

Disallow trailing commas in function call argument lists in the Pratt parser to match CEL grammar and ANTLR parser behavior.
@dmitriplotnikov
dmitriplotnikov merged commit 4593975 into master Aug 28, 2026
13 checks passed
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