Closed ibokuri closed 11 months ago
The problem is that in deserializeUntaggedUnion
, @unionInit
is returned from the function directly. Instead of doing that, we need to use the visitor
parameter passed to the function by Getty.
The issue there is I'm not exactly sure how to do that properly...
Description
Deserializing into a pointer to an untagged union (i.e., a union with the
tag
attribute set to.untagged
) raises a type mismatch compile error.How to Reproduce the Bug
Additional Context
No response