We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
by kirklin.mcdonald:
Consider: $ cat test2.go package main import "fmt" func F() (int, string) { fmt.Printf("foo\n") return 0, "" } var x, _ = F() func main() {} $ 6g -o test2.6 test2.go $ 6l -o test2 test2.6 $ ./test2 foo foo $ echo $GOOS $GOARCH linux amd64 $ hg identify $GOROOT a9db512e9a3a Declaring the variables as "x, y" instead of "x, _" results in "foo" being printed once.
The text was updated successfully, but these errors were encountered:
Comment 1:
Owner changed to k...@golang.org.
Status changed to Accepted.
Sorry, something went wrong.
Comment 2:
related to issue #402 https://golang.org/issue/402
Comment 3:
Owner changed to r...@golang.org.
Status changed to Started.
Comment 4:
Labels changed: added priority-high, compilerbug, removed priority-medium.
Comment 5:
This issue was closed by revision 32df678.
Status changed to Fixed.
No branches or pull requests
by kirklin.mcdonald:
The text was updated successfully, but these errors were encountered: