]> Cypherpunks repositories - gostls13.git/commit
[release-branch.go1.10] runtime: don't check for String/Error methods in printany
authorIan Lance Taylor <iant@golang.org>
Fri, 23 Feb 2018 18:34:01 +0000 (10:34 -0800)
committerAndrew Bonventre <andybons@golang.org>
Thu, 29 Mar 2018 06:07:26 +0000 (06:07 +0000)
commite1c083459285490d853f7d983edbe596e7202c93
treec0d209e63857bf83f022664ecd5f7dabeb1ec7ba
parentfe0d248f29e5f0c95fd90be8c457586230809ce4
[release-branch.go1.10] runtime: don't check for String/Error methods in printany

They have either already been called by preprintpanics, or they can
not be called safely because of the various conditions checked at the
start of gopanic.

Fixes #24059

Change-Id: I4a6233d12c9f7aaaee72f343257ea108bae79241
Reviewed-on: https://go-review.googlesource.com/96755
Reviewed-by: Austin Clements <austin@google.com>
Reviewed-on: https://go-review.googlesource.com/102781
Run-TryBot: Andrew Bonventre <andybons@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
src/runtime/error.go
src/runtime/iface.go
src/runtime/panic.go