Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Kirill Smelkov
go
Commits
d37e87c1
Commit
d37e87c1
authored
14 years ago
by
Joe Poirier
Committed by
Andrew Gerrand
14 years ago
Browse files
Options
Download
Email Patches
Plain Diff
gp_spec typo fix: code example in the "Handling panics" section
R=rsc, adg CC=golang-dev
https://golang.org/cl/881047
parent
a3db32d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
doc/go_spec.html
doc/go_spec.html
+1
-1
No files found.
doc/go_spec.html
View file @
d37e87c1
...
...
@@ -4570,7 +4570,7 @@ If the function defined here,
func f(hideErrors bool) {
defer func() {
if x := recover(); x != nil {
println("panicking with value",
v
)
println("panicking with value",
x
)
if !hideErrors {
panic(x) // go back to panicking
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment