typCache: make(map[uint64]types2.Type),
// Separate map for typeparams, keyed by their package and unique
// name (name with subscript).
- tparamIndex: make(map[ident]types2.Type),
+ tparamIndex: make(map[ident]*types2.TypeParam),
}
for i, pt := range predeclared {
declData string
pkgIndex map[*types2.Package]map[string]uint64
typCache map[uint64]types2.Type
- tparamIndex map[ident]types2.Type
+ tparamIndex map[ident]*types2.TypeParam
interfaceList []*types2.Interface
}
typCache: make(map[uint64]types.Type),
// Separate map for typeparams, keyed by their package and unique
// name (name with subscript).
- tparamIndex: make(map[ident]types.Type),
+ tparamIndex: make(map[ident]*types.TypeParam),
fake: fakeFileSet{
fset: fset,
declData []byte
pkgIndex map[*types.Package]map[string]uint64
typCache map[uint64]types.Type
- tparamIndex map[ident]types.Type
+ tparamIndex map[ident]*types.TypeParam
fake fakeFileSet
interfaceList []*types.Interface