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
package main type T struct{} func main() { t := new(T) _ = []string{t} }
The error message says:
prog.go:7: cannot use t (type *T) as type string in array element
s/array/slice/ (and could possibly drop "element" too, but that's a lesser issue)
The text was updated successfully, but these errors were encountered:
CL https://golang.org/cl/17206 mentions this issue.
Sorry, something went wrong.
c7a3403
No branches or pull requests
The error message says:
s/array/slice/
(and could possibly drop "element" too, but that's a lesser issue)
The text was updated successfully, but these errors were encountered: