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

Parsing reserved values fails on simple example #268

Open
property-x opened this issue Feb 12, 2025 · 0 comments
Open

Parsing reserved values fails on simple example #268

property-x opened this issue Feb 12, 2025 · 0 comments

Comments

@property-x
Copy link

property-x commented Feb 12, 2025

I've tried to compile the reserved enum field example from https://protobuf.dev/programming-guides/proto3/#reserved

reserved_enum.proto

syntax = "proto3";
package my.package;

enum Foo {
  reserved 2, 15, 9 to 11, 40 to max;
  reserved "FOO", "BAR";
}

Using pb-rs src/reserved_enum.proto, with pb-rs version 0.10.0.

I haven't checked why it fails as I'm new to quick-protobuf but since #12 mentions reserved being merged I was hoping it might be a quick fix. :)

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