Skip to content

Field functions after embedded structs are not visible #840

@antonmedv

Description

@antonmedv

@diegommm looks like something to broken with the way nature iterates embedded structs and fields as methods.

type Env struct {
	EmbeddedEnv
	Func func() int
}

type EmbeddedEnv struct{}

In this case Func will be not accessible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions