-
Notifications
You must be signed in to change notification settings - Fork 58
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
ERROR: Unsupported type token with semicolon terminated message-expression #211
Comments
Thanks for reporting this. Yeah, there are still little things like that where we differ from protoc, we'll get it right eventually.:) Should be an easy fix. |
It looks like the fix in #213 doesn't work for tested structures. I'm getting the error on this example from onnx.proto3:
I guess the fix should also be trivial, but I'm not sure what part of the code is responsible for this case. Julia v1.8 |
Thanks for reporting, @dfdx! A fix should be merged soon. Until then, you can just delete the semicolon after the oneof field definition. |
This in file
test2.proto
fails with
protojl("test2.proto", ".", "output_dir")
from ProtoBuf.jl v1.0.3I saw proto-files in the wild with message-expression ending in a semicolon.
libprotoc
version 3.21.4 compiles this fine.The text was updated successfully, but these errors were encountered: