aboutsummaryrefslogtreecommitdiff
path: root/src/syscall/exec_linux_test.go
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2021-06-12 12:25:12 -0700
committerJoe Tsai <thebrokentoaster@gmail.com>2021-06-15 00:14:03 +0000
commitcf4e3e3d3b3a713ec4df7e995d5bf5caef045a09 (patch)
treee8e54211418a9dd798c9fc6f14f6bf3301f913aa /src/syscall/exec_linux_test.go
parent7841cb14d95cf64c29b865c8a761a9e00fbbb37c (diff)
downloadgo-cf4e3e3d3b3a713ec4df7e995d5bf5caef045a09.tar.xz
reflect: explain why convertible or comparable types may still panic
Conversions of slices to arrays may panic since the slice is too short. Comparibility of interfaces may panic since the underlying value is incomparable. This is a follow-up to CL 301652 Change-Id: Ia5d84a6e556a7b82c39add4be93ed7463e63cc8d Reviewed-on: https://go-review.googlesource.com/c/go/+/327589 Trust: Joe Tsai <joetsai@digital-static.net> Trust: Joe Tsai <thebrokentoaster@gmail.com> Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Josh Bleecher Snyder <josharian@gmail.com> Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Katie Hockman <katie@golang.org> Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Diffstat (limited to 'src/syscall/exec_linux_test.go')
0 files changed, 0 insertions, 0 deletions