func (g *irgen) instTypeName2(name string, targs *types2.TypeList) string {
	rparams := make([]*types.Type, targs.Len())
	for i := range rparams {
		rparams[i] = g.typ(targs.At(i))
	}
	return typecheck.InstTypeName(name, rparams)
}
// instTypeName2 creates a name for an instantiated type, base on the type args
// (given as types2 types).
instTypeName2 creates a name for an instantiated type, base on the type args
(given as types2 types).
// instTypeName2 creates a name for an instantiated type base on the type args // ( given as types2 types ) .
func (g *irgen) instTypeName2(name string, targs *types2.TypeList) string {
	rparams := make([]*types.Type, targs.Len())
	for i := range rparams {
		rparams[i] = g.typ(targs.At(i))
	}
	return typecheck.InstTypeName(name, rparams)
}
func ( g * irgen ) instTypeName2 ( name string , targs * types2 . TypeList ) string { rparams := make ( [ ] * types . Type , targs . Len ( ) ) for i := range rparams { rparams [ i ] = g . typ ( targs . At ( i ) ) } return typecheck . InstTypeName ( name , rparams ) }
instTypeName2 creates a name for an instantiated type, base on the type args
(given as types2 types).
instTypeName2 creates a name for an instantiated type base on the type args ( given as types2 types ) .