go/types.TypeParam.Constraint (method)
12 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#L210: if !types.Identical(tps1.At(i).Constraint(), tps2.At(i).Constraint()) {
correspondence.go#L249: if oldp.Constraint() == nil || newp.Constraint() == nil {
correspondence.go#L252: if !types.Identical(oldp.Constraint(), newp.Constraint()) {
golang.org/x/tools/go/types/objectpath
objectpath.go#L520: if r := find(obj, T.Constraint(), append(path, opConstraint), seen); r != nil {
objectpath.go#L672: t = tparam.Constraint()
golang.org/x/tools/internal/gcimporter
iexport.go#L513: constraint := tparam.Constraint()