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

Require comma separators (and nothing else) between struct members. #28381

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

mikebenfield
Copy link
Collaborator

Fixes #28377, #28379

Copy link
Collaborator

@d0cd d0cd left a comment

Choose a reason for hiding this comment

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

Left some minor nits, otherwise the PR looks good!

tests/tests/parser/structs/comma_separators.leo Outdated Show resolved Hide resolved
tests/tests/parser/structs/only_comma_separators.leo Outdated Show resolved Hide resolved
Copy link
Collaborator

@d0cd d0cd left a comment

Choose a reason for hiding this comment

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

LGTM!

@d0cd d0cd merged commit dbf4aca into mainnet Oct 10, 2024
13 checks passed
@d0cd d0cd deleted the struct branch October 10, 2024 00:00
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.

[Bug] The parsing of struct expressions, still allows both semicolons and commas as separators of components.
2 participants