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
https://go2goplay.golang.org/ as of 2020-06-17 06:53 UTC
https://go2goplay.golang.org/p/y9j7WlgNHWy
If you change Adder to be just int or just string, then everything works, only when both are used at once does it fail.
invalid operation: operator + not defined for ret (variable of type T)
The text was updated successfully, but these errors were encountered:
Same issue #39623 ?
Sorry, something went wrong.
Duplicate of #39623
No branches or pull requests
What version of Go are you using (
go version
)?https://go2goplay.golang.org/ as of 2020-06-17 06:53 UTC
What did you do?
https://go2goplay.golang.org/p/y9j7WlgNHWy
What did you expect to see?
If you change Adder to be just int or just string, then everything works, only when both are used at once does it fail.
What did you see instead?
invalid operation: operator + not defined for ret (variable of type T)
The text was updated successfully, but these errors were encountered: