go/types.TypeParam.SetConstraint (method)

5 uses

	go/types (current package)
		typeparam.go#L85: func (t *TypeParam) SetConstraint(bound Type) {

	go.pact.im/x/plumb/internal/solve
		lift.go#L45: 			lifted.SetConstraint(gotypes.Subst(s.ctxt, c, m))
		lift.go#L68: 	tp.SetConstraint(orig.Constraint())

	golang.org/x/tools/internal/gcimporter
		iimport.go#L347: 		d.t.SetConstraint(d.constraint)
		ureader.go#L762: 			tparams[i].SetConstraint(typ)