It is possible to add it in the future. But it would need a clear and precise design for how it works. It should be written as a language change proposal; see https://golang.org/s/proposal. It's not obvious to me how it should work; exactly what types should be inferred if I write zero() + zero() != zero(), and why?
What version of Go are you using (
gotip version
)?What did you do?
What did you expect to see?
Successful compilation
What did you see instead?
The text was updated successfully, but these errors were encountered: