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

return bypasses addressed returned parameters #700

Closed
rogpeppe opened this issue Mar 29, 2010 · 2 comments
Closed

return bypasses addressed returned parameters #700

rogpeppe opened this issue Mar 29, 2010 · 2 comments

Comments

@rogpeppe
Copy link
Contributor

this function should return 999, but it actually returns 0.

func f() (e int) {
    _ = &e
    return 999
}


darwin 386
3f628b05aff6+ tip
@griesemer
Copy link
Contributor

Comment 1:

Owner changed to r...@golang.org.

Status changed to Accepted.

@rsc
Copy link
Contributor

rsc commented Mar 29, 2010

Comment 2:

This issue was closed by revision 3908c16.

Status changed to Fixed.

@golang golang locked and limited conversation to collaborators Jun 24, 2016
@rsc rsc removed their assignment Jun 22, 2022
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants