We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2dcbe2e commit a54340dCopy full SHA for a54340d
1 file changed
main.go
@@ -747,6 +747,10 @@ func (pkg *pkgData) parseType(obj *types.TypeName) {
747
}
748
case *types.Basic:
749
pkg.Types[name] = typeData{Underlying: elT.Name() + "*"}
750
+ case *types.Named:
751
+ elTO := elT.Obj()
752
+ childName := fmt.Sprintf("%s.%s", elTO.Pkg().Path(), elTO.Name())
753
+ pkg.Types[name] = typeData{Underlying: childName + "*"}
754
default:
755
doPanic = true
756
0 commit comments