Skip to content

x/exp/apidiff: support for go/types.Alias #70695

@timothy-king

Description

@timothy-king

golang.org/x/exp/apidiff should be updated to support go/types producing Alias nodes. This is required for these tools to type check input code containing type parameterized alias nodes (1.24).

Additionally golang.org/x/exp/cmd/{apidiff, gorelease} should have the gotypesalias=1 GODEBUG setting enabled by default when built with a toolchain >= 1.24. See https://go.dev/cl/627715 for an example of how to do this.

See #69772 for additional context.

Metadata

Metadata

Assignees

Labels

NeedsFixThe path to resolution is known, but the work has not been done.

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions