go/types.TypeParam.Constraint (method)
10 uses
go/types (current package)
infer.go#L266: err.addf(posn, "%s (type %s) does not satisfy %s", tpar, tx, tpar.Constraint())
infer.go#L307: err.addf(posn, "%s (type %s) does not satisfy %s %s", tpar, tx, tpar.Constraint(), cause)
typeparam.go#L75: func (t *TypeParam) Constraint() Type {
golang.org/x/exp/apidiff
correspondence.go#L266: if !d.correspond(tps1.At(i).Constraint(), tps2.At(i).Constraint()) {
golang.org/x/tools/go/types/objectpath
objectpath.go#L555: if r := f.find(T.Constraint(), append(path, opConstraint)); r != nil {
objectpath.go#L732: t = tparam.Constraint()
golang.org/x/tools/go/types/typeutil
map.go#L265: hash += 7 * h.hash(tparam.Constraint())
golang.org/x/tools/internal/gcimporter
iexport.go#L758: constraint := tparam.Constraint()
golang.org/x/tools/internal/typeparams
normalize.go#L64: constraint := tparam.Constraint()