Skip to content

fakereflect: check if we need fixes for generics #1256

@dominikh

Description

@dominikh

Our fakereflect package has functions like

func (t TypeAndCanAddr) IsSlice() bool {
	_, ok := t.Type.Underlying().(*types.Slice)
	return ok
}

which don't work with type parameters. See if that matters for users of the package.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions