Re:Go generics draft design: building a hashtable
by mdlayher on Wednesday June 17, 2020 @05:46PM
(#23557163)
In this particular case, the compiler can't infer the type of V if you omit the type parameters at the call sites:
But generally you are right, yes. It is able to infer K at least.
[ Parent
| on HN ]
There are no comments on this comment yet.