We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fdd6793 commit febbef5Copy full SHA for febbef5
doc/go1.18.html
@@ -29,6 +29,24 @@ <h2 id="language">Changes to the language</h2>
29
TODO: complete this section
30
</p>
31
32
+<h3 id="generics">Generics</h3>
33
+
34
+<p>
35
+Go 1.18 includes an implementation of generics as described
36
+by <a href="https://go.googlesource.com/proposal/+/refs/heads/master/design/43651-type-parameters.md">the
37
+proposal</a>.
38
+</p>
39
40
41
+ The current generics implementation has the following limitations:
42
+ <ul>
43
+ <li><!-- issue 47631 -->
44
+ The Go compiler cannot currently handle type declarations inside generic functions
45
+ or methods. We hope to provide support for this feature in Go 1.19.
46
+ </li>
47
+ </ul>
48
49
50
<h2 id="ports">Ports</h2>
51
52
<h3 id="freebsd">FreeBSD</h3>
0 commit comments