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/KoR8BizdMq
reports:
/tmp/sandbox991543070/main.go:3: constant 0+1i truncated to real
but the error should say: constant 0+1i truncated to int
since the complex constant is used with an int value.
go/types reports: 1i (untyped complex constant (0/1 + 1/1i)) truncated to int
The text was updated successfully, but these errors were encountered:
More direct example: http://play.golang.org/p/KhuZtmdbY2
Sorry, something went wrong.
CL https://golang.org/cl/34638 mentions this issue.
8713003
No branches or pull requests
http://play.golang.org/p/KoR8BizdMq
reports:
/tmp/sandbox991543070/main.go:3: constant 0+1i truncated to real
but the error should say: constant 0+1i truncated to int
since the complex constant is used with an int value.
go/types reports: 1i (untyped complex constant (0/1 + 1/1i)) truncated to int
The text was updated successfully, but these errors were encountered: