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
When a layout includes an anonymous Structure the layouts within that structure should be added directly to the object created using the parent layout.
The text was updated successfully, but these errors were encountered:
It's entirely unclear how to accomplish this without breaking the simple
existing concept that the layouts are strictly defined, so we're just
adding the tests and leaving the issue open.
This relates to issue #8 in that it provided a way to hide the true
structure by allowing fields within unions (but not structs) to be
placed in the parent object. This is too confusing: the rule is that
Layout.decode always returns the decoded value; if that value is a
Union, then even if the variant in it is a number what gets returned is
an Object not the raw number.
When a layout includes an anonymous Structure the layouts within that structure should be added directly to the object created using the parent layout.
The text was updated successfully, but these errors were encountered: