]> Cypherpunks repositories - gostls13.git/commit
go/types: use correct (file) scopes when computing interface method sets
authorRobert Griesemer <gri@golang.org>
Tue, 24 Apr 2018 21:38:18 +0000 (14:38 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 25 Apr 2018 18:24:59 +0000 (18:24 +0000)
commit73becbf9e242fdde41393c39094f7ec132c09e45
tree8c9a187dabbefa30e30c5a3b9730590a4a7b79d4
parentf2df0ec7dd0552af9a7ee4ab1bf77c302f08bd57
go/types: use correct (file) scopes when computing interface method sets

This was already partially fixed by commit 99843e22e81
(https://go-review.googlesource.com/c/go/+/96376); but
we missed a couple of places where we also need to
propagate the scope.

Fixes #25008.

Change-Id: I041fa74d1f6d3b5a8edb922efa126ff1dacd7900
Reviewed-on: https://go-review.googlesource.com/109139
Reviewed-by: Alan Donovan <adonovan@google.com>
src/go/types/check_test.go
src/go/types/interfaces.go
src/go/types/testdata/issue25008a.src [new file with mode: 0644]
src/go/types/testdata/issue25008b.src [new file with mode: 0644]