diff options
| author | David Chase <drchase@google.com> | 2023-01-20 16:41:57 -0500 |
|---|---|---|
| committer | David Chase <drchase@google.com> | 2023-05-05 14:59:28 +0000 |
| commit | bdc6ae579aa86d21183c612c8c37916f397afaa8 (patch) | |
| tree | cc63ff843ab5a7f3c196c8fa2c74924bfee61d93 /src/runtime/error.go | |
| parent | dace96b9a12905b34af609eedaa6b43e30e7cdb1 (diff) | |
| download | go-bdc6ae579aa86d21183c612c8c37916f397afaa8.tar.xz | |
internal/abi: refactor (basic) type struct into one definition
This touches a lot of files, which is bad, but it is also good,
since there's N copies of this information commoned into 1.
The new files in internal/abi are copied from the end of the stack;
ultimately this will all end up being used.
Change-Id: Ia252c0055aaa72ca569411ef9f9e96e3d610889e
Reviewed-on: https://go-review.googlesource.com/c/go/+/462995
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Carlos Amedee <carlos@golang.org>
Run-TryBot: David Chase <drchase@google.com>
Reviewed-by: Keith Randall <khr@golang.org>
Diffstat (limited to 'src/runtime/error.go')
| -rw-r--r-- | src/runtime/error.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/error.go b/src/runtime/error.go index a211fbf515..933c3cbec3 100644 --- a/src/runtime/error.go +++ b/src/runtime/error.go @@ -258,7 +258,7 @@ func printanycustomtype(i any) { eface := efaceOf(&i) typestring := eface._type.string() - switch eface._type.kind { + switch eface._type.Kind_ { case kindString: print(typestring, `("`, *(*string)(eface.data), `")`) case kindBool: |
