Skip to content

When using an anonymous field as first field, js land breaks #365

Open
@luna-duclos

Description

@luna-duclos

I've written up the following sample: https://gopherjs.github.io/playground/#/E0gNDwWBLP

My analysis of the issue is that if the first field of a struct is an anonymous field, gopherJS tries to do some special handling even if this field is not a *js.Object, which causes issues when externalizing it

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions