diff options
| author | Matthew Dempsky <mdempsky@google.com> | 2022-08-05 16:09:22 -0700 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-08-06 15:20:00 +0000 |
| commit | 0c4db1e347dc51589e5289388305b02108ca0aa1 (patch) | |
| tree | 0820140d0df29cdaf8531fe8e0fdf81b2f5aaf4e /src/encoding | |
| parent | d75e186e2c013d04548940eae913824bae9d7c48 (diff) | |
| download | go-0c4db1e347dc51589e5289388305b02108ca0aa1.tar.xz | |
cmd/compile: fix import/export of ODYNAMICDOTTYPE
The RType field isn't needed when performing type assertions from
non-empty interface types, because we use the ITab field instead. But
the inline body exporter didn't know to expect this.
It's possible we could use a single bool to distinguish whether
we're serializing the RType or ITab field, but using two is simpler
and seems safer.
Fixes #54302.
Change-Id: I9ddac72784fb2241fee0a0dee30493d868a2c259
Reviewed-on: https://go-review.googlesource.com/c/go/+/421755
TryBot-Result: Gopher Robot <gobot@golang.org>
Run-TryBot: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Cuong Manh Le <cuong.manhle.vn@gmail.com>
Reviewed-by: Keith Randall <khr@google.com>
Auto-Submit: Matthew Dempsky <mdempsky@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
