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:
struct ShapeMessage
shape::Float32
shapeChild::Vector{ShapeMessage}
dbtype::Float32
end
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.