]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] cmd/compile/internal/types2: factor out sorting of methods
authorRobert Griesemer <gri@golang.org>
Sat, 23 Jan 2021 00:24:05 +0000 (16:24 -0800)
committerRobert Griesemer <gri@golang.org>
Sat, 23 Jan 2021 01:08:47 +0000 (01:08 +0000)
commit6923019a716fcc7a99a674df448135d92b603c8a
tree85d07a31d3cab4908c1eaf21726c7b9dc53c40af
parente4ef30a66751c39bdd24764763531f1a4c325845
[dev.typeparams] cmd/compile/internal/types2: factor out sorting of methods

Cleanup and first step towards uniformly changing the sort criteria.

Change-Id: I0a7b6a10b5b646fc83f4897e4915ef4dae24aa66
Reviewed-on: https://go-review.googlesource.com/c/go/+/285993
Trust: Robert Griesemer <gri@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
src/cmd/compile/internal/types2/predicates.go
src/cmd/compile/internal/types2/type.go
src/cmd/compile/internal/types2/typexpr.go
src/cmd/compile/internal/types2/unify.go