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

[naga] allow trailing commas in template lists #7142

Open
wants to merge 2 commits into
base: trunk
Choose a base branch
from

Conversation

kentslaney
Copy link
Contributor

@kentslaney kentslaney commented Feb 14, 2025

Connections
template list spec

Description
template lists allow for an optional trailing comma, which was not previously accounted for in the lexer

Testing
This is tested by adding trailing commas to the array_size_overrides test

Checklist

  • Run cargo fmt.
  • Run taplo format.
  • Run cargo clippy. If applicable, add:
  • Run cargo xtask test to run tests.
  • Add change to CHANGELOG.md. See simple instructions inside file.

@kentslaney kentslaney requested a review from a team as a code owner February 14, 2025 19:48
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