-
Notifications
You must be signed in to change notification settings - Fork 152
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
Prefix/suffix/lowercase crashes on oneof #75
Comments
Hm, the issue is a little more complicated than I thought. If I have it simply skip the
Both of these will fail because it can't find Not sure yet where in the parser to properly format those types. |
For
|
Will take a look at |
Good thing you thought about maps too. Perhaps something along these lines:
|
Cool, yup, those did it, thanks! |
I merged your fix in #76 and just pushed it as 3.25.0. (Closing) |
If the options include a msg prefix, suffix or
msg_name_to_lower
the parser crashes inprefix_suffix_fields
because it expects every list element to be agpb_field
but instead finds agpb_oneof
:https://github.com/tomas-abrahamsson/gpb/blob/master/src/gpb_parse.yrl#L1093-L1101
The text was updated successfully, but these errors were encountered: