I am heap allocating a tagged union, but one of the fields of this union requires an address to "self", so to speak.
const myUnion = try gpa.create(MyUnion);
myUnion.* = .{
.known_tag = .{
.some_field = .{ .ptr = &myUnion.known_tag, .vtable = ... },
}
};
This currently panics with "cannot access union field 'known_tag' when '...' is active"
I get what Zig is trying to do here, but also, it would be annoying to assign some_field = undefined and then update it on the next line.