Skip to content

False "unknown field" error #1895

@horkhe

Description

@horkhe
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 }

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions