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

RepeatingEnumValueException when parsing enum with hex values #132

Open
anshumans opened this issue Jul 3, 2014 · 2 comments
Open

RepeatingEnumValueException when parsing enum with hex values #132

anshumans opened this issue Jul 3, 2014 · 2 comments

Comments

@anshumans
Copy link

In my .thrift, I have :

enum TrueFalse
{
    False = 0,
    True = 1,
    Unknown = 0x7FFFFFFF
}

I get a FileParseException caused by RepeatingEnumValueException: Repeating enum value in TrueFalse: 1. Replacing the hex value with 2147483647 (Int.MaxValue) results in no error. Is this a bug?

@mosesn
Copy link
Contributor

mosesn commented May 29, 2016

Looks like a bug!

@liuweiming1997
Copy link

is this solve?

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

No branches or pull requests

3 participants