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

protoparse: validation fails to report duplicate reserved name #315

Closed
jhump opened this issue Apr 26, 2020 · 1 comment
Closed

protoparse: validation fails to report duplicate reserved name #315

jhump opened this issue Apr 26, 2020 · 1 comment

Comments

@jhump
Copy link
Owner

jhump commented Apr 26, 2020

There is logic to detect duplicate reserved names defined in a message, but it does not actually detect the issue if duplicates are spread across multiple reserved declarations.

Minimal reproducer:

message Foo { reserved "foo"; reserved "foo"; }
@jhump
Copy link
Owner Author

jhump commented Apr 27, 2020

Fixed in #316

@jhump jhump closed this as completed Apr 27, 2020
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

No branches or pull requests

1 participant