There was an error while loading. Please reload this page.
type Foo struct { A int } type Bar Foo func Test() Bar { return Bar{A: 1} // Should be ok, but error reported: Unknown field 'A' in struct literal }