]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] cmd/compile/internal/types2: factor out constraint satisfaction...
authorRobert Griesemer <gri@golang.org>
Sat, 22 May 2021 02:46:45 +0000 (19:46 -0700)
committerRobert Griesemer <gri@golang.org>
Mon, 24 May 2021 23:16:24 +0000 (23:16 +0000)
commit155dc0e541368bbd208bfcf12985f58fb375dd5c
treeede98969879319b61d5a92d188d8d0637887dcee
parent5770d7a63743ddfd0e78877f162cbbf18ffb9c1d
[dev.typeparams] cmd/compile/internal/types2: factor out constraint satisfaction check

This is a simple move of a block of inlined code into a function
to make instantiation more manageable and easier to understand.
There is no change in functionality or behavior.

Change-Id: I46e7a9ea03527731e1f0219b3402eb03949627c5
Reviewed-on: https://go-review.googlesource.com/c/go/+/322070
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Robert Findley <rfindley@google.com>
src/cmd/compile/internal/types2/subst.go