We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
E.g.:
syntax = \"proto3\"; message ShapeMessage { float shape = 1; repeated ShapeMessage shapeChild = 2; optional float dbtype = 3; }
will be translated to:
abstract type var"##AbstractShapeMessage" end struct ShapeMessage <: var"##AbstractShapeMessage" shape::Float32 shapeChild::Vector{<:ShapeMessage} dbtype::Float32 end
Making shapeChild an abstractly typed field. The simpler and better-performing thing would be to generate this:
shapeChild
struct ShapeMessage shape::Float32 shapeChild::Vector{ShapeMessage} dbtype::Float32 end
Which seems to work fine.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
E.g.:
will be translated to:
Making
shapeChild
an abstractly typed field. The simpler and better-performing thing would be to generate this:Which seems to work fine.
The text was updated successfully, but these errors were encountered: