aboutsummaryrefslogtreecommitdiff
path: root/src/cmd
diff options
context:
space:
mode:
authorRobert Griesemer <gri@golang.org>2018-02-22 10:43:35 -0800
committerRobert Griesemer <gri@golang.org>2018-02-26 18:46:26 +0000
commit99843e22e81045ba5e6776095a2cb3ef5704c70e (patch)
tree5b973e7fa831fba77472f323d141c87837f8f455 /src/cmd
parent85caeafb8c0d4c6926d67ce2939470780fab1a04 (diff)
downloadgo-99843e22e81045ba5e6776095a2cb3ef5704c70e.tar.xz
go/types: type-check embedded methods in correct scope (regression)
Change https://go-review.googlesource.com/79575 fixed the computation of recursive method sets by separating the method set computation from type computation. However, it didn't track an embedded method's scope and as a result, some methods' signatures were typed in the wrong context. This change tracks embedded methods together with their scope and uses that scope for the correct context setup when typing those method signatures. Fixes #23914. Change-Id: If3677dceddb43e9db2f9fb3c7a4a87d2531fbc2a Reviewed-on: https://go-review.googlesource.com/96376 Reviewed-by: Alan Donovan <adonovan@google.com>
Diffstat (limited to 'src/cmd')
0 files changed, 0 insertions, 0 deletions