aboutsummaryrefslogtreecommitdiff
path: root/src/pkg/runtime/proc.c
diff options
context:
space:
mode:
authorRuss Cox <rsc@golang.org>2014-04-16 11:52:27 -0400
committerRuss Cox <rsc@golang.org>2014-04-16 11:52:27 -0400
commitfcf8a775259b491de580048df8720be7acb5799c (patch)
treeedd8933d49be0066e1f267645571af314f74375d /src/pkg/runtime/proc.c
parenta5b1530557833708050c0e2508ffeaab1bf8bc29 (diff)
downloadgo-fcf8a775259b491de580048df8720be7acb5799c.tar.xz
reflect: correct type descriptor for call of interface method
When preparing a call with an interface method, the argument frame holds the receiver "iword", but funcLayout was being asked to write a descriptor as if the receiver were a complete interface value. This was originally caught by running a large program with Debug=3 in runtime/mgc0.c, but the new panic in funcLayout suffices to catch the mistake with the existing tests. Fixes #7748. LGTM=bradfitz, iant R=golang-codereviews, bradfitz, iant CC=golang-codereviews, khr https://golang.org/cl/88100048
Diffstat (limited to 'src/pkg/runtime/proc.c')
0 files changed, 0 insertions, 0 deletions