- Sort Score
- Result 10 results
- Languages All
Results 11 - 14 of 14 for makeSubstMap (0.16 sec)
-
src/go/types/predicates.go
xtparams := x.TypeParams().list() ytparams := y.TypeParams().list() var targs []Type for i := range xtparams { targs = append(targs, x.TypeParams().At(i)) } smap := makeSubstMap(ytparams, targs) var check *Checker // ok to call subst on a nil *Checker ctxt := NewContext() // need a non-nil Context for the substitution below
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.6K bytes - Viewed (0) -
src/cmd/compile/internal/types2/predicates.go
xtparams := x.TypeParams().list() ytparams := y.TypeParams().list() var targs []Type for i := range xtparams { targs = append(targs, x.TypeParams().At(i)) } smap := makeSubstMap(ytparams, targs) var check *Checker // ok to call subst on a nil *Checker ctxt := NewContext() // need a non-nil Context for the substitution below
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 03:01:18 UTC 2024 - 17.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/call.go
// it separately. Otherwise we can simply use the result signature's parameter // list. if adjusted { sigParams = check.subst(call.Pos(), sigParams, makeSubstMap(tparams[:n], targs[:n]), nil, check.context()).(*Tuple) } else { sigParams = rsig.params } } // compute argument signatures: instantiate if needed j := n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 31.5K bytes - Viewed (0) -
src/go/types/call.go
// it separately. Otherwise we can simply use the result signature's parameter // list. if adjusted { sigParams = check.subst(call.Pos(), sigParams, makeSubstMap(tparams[:n], targs[:n]), nil, check.context()).(*Tuple) } else { sigParams = rsig.params } } // compute argument signatures: instantiate if needed j := n
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 33.5K bytes - Viewed (0)