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
go version
$ go version
n/a
go env
It's puzzling
https://go2goplay.golang.org/p/kAXN5YfIUod
int string int
int Unknown Unknown
The text was updated successfully, but these errors were encountered:
Thanks. This is discussed in the design draft at https://go.googlesource.com/proposal/+/refs/heads/master/design/go2draft-type-parameters.md#identifying-the-matched-predeclared-type .
We considered permitting switching on T, but it wasn't clear that it was what people wanted. See the discussion at https://groups.google.com/d/msg/golang-nuts/iAD0NBz3DYw/VcXSK55XAwAJ (it is mixed in with other discussion in that thread).
Sorry, something went wrong.
No branches or pull requests
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
n/a
What operating system and processor architecture are you using (
go env
)?What did you do?
It's puzzling
https://go2goplay.golang.org/p/kAXN5YfIUod
What did you expect to see?
What did you see instead?
The text was updated successfully, but these errors were encountered: