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
At tip, cmd/compile rejects this package with "missing arguments to copy":
package p func f() ([]byte, string) { return nil, "" } var _ = copy(f())
The same package is accepted by go/types and gccgo, and seemingly valid according to the spec.
The text was updated successfully, but these errors were encountered:
Notably cmd/compile does handle complex(func() (float64, float64) { return 0, 0 }()) correctly.
complex(func() (float64, float64) { return 0, 0 }())
Sorry, something went wrong.
This is #15992
Closing as dup.
No branches or pull requests
At tip, cmd/compile rejects this package with "missing arguments to copy":
The same package is accepted by go/types and gccgo, and seemingly valid according to the spec.
The text was updated successfully, but these errors were encountered: