Y
Hacker News
new
|
ask
|
show
|
jobs
by
skybrian
1768 days ago
Apparently type parameter compiler work was supposed to get merged just after 1.17. [1] Does anyone know if it’s still on?
[1]
https://groups.google.com/g/golang-dev/c/U7eW9i0cqmo/m/ffs0t...
2 comments
nappy-doo
1768 days ago
The merge has already happened. The generic preview is going to be in 1.18 (early 2022).
link
4ad
1768 days ago
It's already in, it has to be requested by the user with `-gcflags='-G=3'`. Of course, the feature is in heavy development and not ready for production use, YMMV.
link