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>
This commit is contained in:
David Chase 2023-04-24 15:45:33 -04:00
parent 48f8c5c037
commit a2838ec5f2
19 changed files with 76 additions and 75 deletions

View file

@ -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 {