Open
Description
This is a placeholder for planning purposes, to be exchanged for a proper proposal at a future date.
EDIT(2024-02-06): Please see the actual proposal in this comment below: #61013 (comment)
As discussed in #60994, there are some missing go/types
APIs that are currently papered over with the x/exp/typeparams
package.
In particular, we should propose a go/types
API that serves the purpose of the NormalTerms
function -- some way to traverse a normalized representation of the terms of an interface types.
We could expose an equivalent API to NormalTerms
, or do something simpler. Let's decide early in the go1.22 cycle.
Metadata
Metadata
Assignees
Type
Projects
Status
Incoming