You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Historically the Underlying method of go/types.Type used to strip off exactly one kind of type constructor: Named. Now, it removes Named, TypeParam (go1.18), and Alias (go1.22).
We should clarify the documentation of the interface method to call out this fact, and of the three concrete methods to state their behavior explicitly, and we should direct the reader to Unalias and other more discerning destructors.
The text was updated successfully, but these errors were encountered:
Historically the
Underlying
method of go/types.Type used to strip off exactly one kind of type constructor: Named. Now, it removes Named, TypeParam (go1.18), and Alias (go1.22).We should clarify the documentation of the interface method to call out this fact, and of the three concrete methods to state their behavior explicitly, and we should direct the reader to Unalias and other more discerning destructors.
The text was updated successfully, but these errors were encountered: