Commit f947c4dc authored by Darren Grant's avatar Darren Grant Committed by Robert Griesemer
Browse files

builtin: spec correction for panic()

Upon unrecovered panic and program termination, process exit code is hard-coded
to 2, not set to the parameter passed to panic().

Change-Id: If64b75493227b4fd69c0bbb529f84e6df2d1b93f
Reviewed-on: https://go-review.googlesource.com/c/go/+/167709


Reviewed-by: default avatarRobert Griesemer <gri@golang.org>
parent cebc4e51
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment