You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Setters and getters will get weird, but they will at least preserve pointers and will verify that the access is using the correct part of the union:
vardData// ...*d.(*DataF) =DataF(v)
I know that there are cases when unions are intentionally used to read the same data via two or more different representations, so we might need both modes.
Currently
union
layout is ignored. Instead fields are flattened into the parent structure.Proper layout should be implemented at some point if we want to transpile ~anything that touches the disk/network.
The text was updated successfully, but these errors were encountered: