Skip to content

Parsing reserved values fails on simple example #268

Description

@property-x

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. :)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions