aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/stack.c
diff options
context:
space:
mode:
authorRémy Oudompheng <oudomphe@phare.normalesup.org>2014-02-27 08:07:50 +0100
committerRémy Oudompheng <oudomphe@phare.normalesup.org>2014-02-27 08:07:50 +0100
commite5f01aee04dc6313c85dab78305adf499e1f7bfa (patch)
tree8138262e28f8af4dfeccda7268107e320189c3ae /src/pkg/runtime/stack.c
parentb7b844d4cd7fc782d921ce03415ff07bf9f58e0c (diff)
downloadgo-e5f01aee04dc6313c85dab78305adf499e1f7bfa.tar.xz
cmd/gc: do not nop-convert equivalent but different interface types.
The cached computed interface tables are indexed by the interface types, not by the unnamed underlying interfaces To preserve the invariants expected by interface comparison, an itab generated for an interface type must not be used for a value of a different interface type even if the representation is identical. Fixes #7207. LGTM=rsc R=rsc, iant, khr CC=golang-codereviews https://golang.org/cl/69210044
Diffstat (limited to 'src/pkg/runtime/stack.c')
0 files changed, 0 insertions, 0 deletions