]> Cypherpunks.ru repositories - gostls13.git/commit
[dev.typeparams] go/types: move embedding positions from Checker to Interface
authorRob Findley <rfindley@google.com>
Fri, 16 Jul 2021 13:34:34 +0000 (09:34 -0400)
committerRobert Findley <rfindley@google.com>
Fri, 16 Jul 2021 23:05:06 +0000 (23:05 +0000)
commitfe4f13404d553958c5b5889ce8b94144798d07bf
tree1ef6f1b0bb8e98a5ec57a50b5c3c1615877c755d
parentb98b8b9b5be2ccbfc5aaf2a983fe5d439f91bc94
[dev.typeparams] go/types: move embedding positions from Checker to Interface

This is a straightforward port of CL 331514 to go/types, with minor
adjustments for the different position API.

Change-Id: I714b3f1cd5a0e8d249912bb589d456885a87e167
Reviewed-on: https://go-review.googlesource.com/c/go/+/335030
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/check.go
src/go/types/interface.go
src/go/types/sizeof_test.go
src/go/types/subst.go
src/go/types/type.go