Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

spec: clarify wording describing result of recover #57739

Open
aathan opened this issue Jan 11, 2023 · 3 comments
Open

spec: clarify wording describing result of recover #57739

aathan opened this issue Jan 11, 2023 · 3 comments
Assignees
Labels
Documentation NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@aathan
Copy link

aathan commented Jan 11, 2023

What is the URL of the page with the issue?

https://go.dev/ref/spec

What is your user agent?

chrome (not relevant)

Screenshot

(not relevant)

What did you do?

Reporting a doc nit

What did you expect to see?

(not relevant)

What did you see instead?

Not sure where to find the source of the golang language spec to report this:

The words "the return value of D's call to recover will be the value passed to the call of panic" would be more clearly stated as:

"D's call to recover will return the value previously passed to the call of panic" possible adding " that initiated the unwinding"

The two wordings are equivalent, but the first wording may cause some readers dissonance while they figure out how the return value of D's call to recover could become the value passed to the call of panic.

@gopherbot gopherbot added this to the Unreleased milestone Jan 11, 2023
@ianlancetaylor ianlancetaylor changed the title x/website: spec: clarify wording describing result of recover Jan 11, 2023
@ianlancetaylor ianlancetaylor added Documentation NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. and removed website labels Jan 11, 2023
@ianlancetaylor ianlancetaylor modified the milestones: Unreleased, Backlog Jan 11, 2023
@ianlancetaylor
Copy link
Contributor

The spec lives at $GOROOT/doc/go_spec.html.

@gopherbot
Copy link

Change https://go.dev/cl/461611 mentions this issue: spec: clearer prose describing result of recover

@aathan
Copy link
Author

aathan commented Jan 13, 2023

Please see #57774
I hope I'm not making extra work for you, but I had additional clarifications to suggest.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

4 participants