Skip to content

No support for enums 'allow_alias' feature #111

Open
@andresier

Description

@andresier

See: https://developers.google.com/protocol-buffers/docs/proto?csw=1#enum
Proto 2 - Language guide:

You can define aliases by assigning the same value to different enum constants. To do this you need to set the allow_alias option to true, otherwise protocol compiler will generate an error message when aliases are found.

Using: Version 2.4.1.555 (current)
When I attempt to include such an option in my proto, I get the following error:
test.proto(150, 10): error CS9999: Option "allow_alias" unknown.

I suspect this is a known issue, but I saw no mention of it on the current issue list. Thanks.

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