Skip to content

Commit 65dd081

Browse files
odeke-emrsc
authored andcommitted
doc/go1.7: document signal name printing during panics
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>
1 parent dec1bae commit 65dd081

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: doc/go1.7.html

+5
Original file line numberDiff line numberDiff line change
@@ -397,6 +397,11 @@ <h3 id="runtime">Runtime</h3>
397397
<a href="/ref/spec#Run_time_panics">required by the language specification</a>.
398398
</p>
399399

400+
<p>
401+
During panics, if a signal's name is known, it will be printed in the stack trace.
402+
Otherwise, the signal's number will be used, as it was before Go1.7.
403+
</p>
404+
400405
<p>
401406
The new function
402407
<a href="/pkg/runtime/#KeepAlive"><code>KeepAlive</code></a>

0 commit comments

Comments
 (0)