]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] go/types: factor out constraint satisfaction check
authorRob Findley <rfindley@google.com>
Thu, 3 Jun 2021 16:14:16 +0000 (12:14 -0400)
committerRobert Findley <rfindley@google.com>
Mon, 7 Jun 2021 17:29:52 +0000 (17:29 +0000)
commit7c8a5be2d6f26caed84c6bae2a115872af5b1021
tree0c2375c59ffc35a022371b41188ce00488fa58db
parent7497e57a39b38894ee19b32a00fe5d057c05f842
[dev.typeparams] go/types: factor out constraint satisfaction check

This is a port of CL 322070 to go/types, adjusted for the different
error reporting API.

Change-Id: I75eafe015b5b00554116527ea021e7a5f9e0343b
Reviewed-on: https://go-review.googlesource.com/c/go/+/324759
Trust: Robert Findley <rfindley@google.com>
Run-TryBot: Robert Findley <rfindley@google.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@golang.org>
src/go/types/subst.go