proposal: 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.
Proposal
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 (this is existing proposal #66890):
@griesemer @jba @findleyr
The text was updated successfully, but these errors were encountered: