]> Cypherpunks repositories - gostls13.git/commitdiff
doc/go1.7: document signal name printing during panics
authorEmmanuel Odeke <emm.odeke@gmail.com>
Fri, 27 May 2016 08:31:59 +0000 (02:31 -0600)
committerRuss Cox <rsc@golang.org>
Fri, 27 May 2016 14:50:42 +0000 (14:50 +0000)
Document new behavior about signal name printing
in panics as per CL golang.org/cl/22753.

For #15810

Change-Id: I9c677d5dd779b41e82afa25e3c797d8e739600d3
Reviewed-on: https://go-review.googlesource.com/23493
Reviewed-by: Russ Cox <rsc@golang.org>
doc/go1.7.html

index db249dd0531124a1ecfc38771f4e06abcaede4b9..a49ea833004ece028bb2c6d66baeb0068f035ee0 100644 (file)
@@ -397,6 +397,11 @@ as
 <a href="/ref/spec#Run_time_panics">required by the language specification</a>.
 </p>
 
+<p>
+During panics, if a signal's name is known, it will be printed in the stack trace.
+Otherwise, the signal's number will be used, as it was before Go1.7.
+</p>
+
 <p>
 The new function
 <a href="/pkg/runtime/#KeepAlive"><code>KeepAlive</code></a>