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
gotype successfully compiles the following program:
package a var s = string(0i)
It must not. 0i is a complex constant. on commit e9a746d
The text was updated successfully, but these errors were encountered:
When fixed please also add the test from #11353:
package n func n(){_=string(0.)}
Sorry, something went wrong.
golang/tools@8c8cd54
go/types: in string(x) conversions, x must be of integer type
eb30fda
Port of https://go-review.googlesource.com/11365 Fixes #11357. Change-Id: Icd20fa038696a8853d1d14477e1c1132938b3e2e Reviewed-on: https://go-review.googlesource.com/11368 Reviewed-by: Alan Donovan <[email protected]>
No branches or pull requests
gotype successfully compiles the following program:
It must not. 0i is a complex constant.
on commit e9a746d
The text was updated successfully, but these errors were encountered: