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
http://play.golang.org/p/cUp0WhWv-c
package main func main() { _ = complex(float64(1)) }
/tmp/sandbox460390042/main.go:4: invalid operation: complex expects two arguments, float64(1) returns 0 results
I would have expected it to say "1 result".
The text was updated successfully, but these errors were encountered:
This appears to be fixed on tip. For:
I see:
./x.go:3: invalid operation: complex expects two arguments
With gotype, I see:
$ gotype x.go x.go:3:27: invalid operation: not enough arguments for complex(float64(1)) (expected 2, found 1)
Sorry, something went wrong.
No branches or pull requests
http://play.golang.org/p/cUp0WhWv-c
I would have expected it to say "1 result".
The text was updated successfully, but these errors were encountered: