aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/panic.go
diff options
context:
space:
mode:
authorDavid Chase <drchase@google.com>2023-04-24 15:45:33 -0400
committerDavid Chase <drchase@google.com>2023-05-11 04:50:30 +0000
commita2838ec5f20b56e94a18c873ab4b68397355e214 (patch)
treee461b73e88af94584189441c48a436a2b0980339 /src/runtime/panic.go
parent48f8c5c0373886736d348acb1ce1601457da1d2e (diff)
downloadgo-a2838ec5f20b56e94a18c873ab4b68397355e214.tar.xz
runtime: redefine _type to abi.Type; add rtype for methods.
Change-Id: I1c478b704d84811caa209006c657dda82d9c4cf9 Reviewed-on: https://go-review.googlesource.com/c/go/+/488435 Reviewed-by: Keith Randall <khr@golang.org> Run-TryBot: David Chase <drchase@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Keith Randall <khr@google.com>
Diffstat (limited to 'src/runtime/panic.go')
-rw-r--r--src/runtime/panic.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/panic.go b/src/runtime/panic.go
index cefab56902..751ad998c9 100644
--- a/src/runtime/panic.go
+++ b/src/runtime/panic.go
@@ -573,7 +573,7 @@ func preprintpanics(p *_panic) {
case string:
throw(text + ": " + r)
default:
- throw(text + ": type " + efaceOf(&r)._type.string())
+ throw(text + ": type " + toRType(efaceOf(&r)._type).string())
}
}()
for p != nil {