go/types: add Basic.Obj #71886
Labels
FeatureRequest
Issues asking for a new feature that does not need a proposal.
LibraryProposal
Issues describing a requested change to the Go standard library or x/ libraries, but not to a tool
NeedsInvestigation
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone
A types.Basic has a name (TypeName). For consistency, it should have an
Obj()
method, like Alias, Named, and TypeParam.Context: https://go.dev/cl/650755
Perhaps we should also add this interface:
@griesemer @jba @findleyr
The text was updated successfully, but these errors were encountered: