We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 97c3efc commit 1a9608aCopy full SHA for 1a9608a
1 file changed
go/extractor/extractor.go
@@ -1516,7 +1516,7 @@ func isAlias(tp types.Type) bool {
1516
// If the given type is a type alias, this function resolves it to its underlying type.
1517
func resolveTypeAlias(tp types.Type) types.Type {
1518
if isAlias(tp) {
1519
- return tp.Underlying()
+ return types.Unalias(tp) // tp.Underlying()
1520
}
1521
return tp
1522
0 commit comments