diff options
| author | Josh Bleecher Snyder <josharian@gmail.com> | 2017-04-28 07:28:49 -0700 |
|---|---|---|
| committer | Josh Bleecher Snyder <josharian@gmail.com> | 2017-04-28 20:07:38 +0000 |
| commit | 92363d52c038851f4a6773ab5744f6d577ac1d38 (patch) | |
| tree | 0e4505834d6c84656603abf556ac94242794663f /src/encoding | |
| parent | e29ea14100cd4eac22f8aa21ab629d767119707c (diff) | |
| download | go-92363d52c038851f4a6773ab5744f6d577ac1d38.tar.xz | |
cmd/compile: check width of embedded interfaces in expandiface
The code in #20162 contains an embedded interface.
It didn't get dowidth'd by the frontend,
and during DWARF generation, ngotype asked
for a string description of it,
which triggered a request for the number of fields
in the interface, which triggered a dowidth,
which is disallowed in the backend.
The other changes in this CL are to support the test.
Fixes #20162
Change-Id: I4d0be5bd949c361d4cdc89a8ed28b10977e40cf9
Reviewed-on: https://go-review.googlesource.com/42131
Run-TryBot: Josh Bleecher Snyder <josharian@gmail.com>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
