diff --git a/_content/doc/go1.18.html b/_content/doc/go1.18.html index 5a99746e50..562356fd44 100644 --- a/_content/doc/go1.18.html +++ b/_content/doc/go1.18.html @@ -144,19 +144,19 @@
- The current generics implementation has the following limitations: + The current generics implementation has the following known limitations:
real
, imag
, and complex
.
We hope to remove this restriction in Go 1.19.
m
on a value
+ The Go compiler only supports calling a method m
on a value
x
of type parameter type P
if m
is explicitly
declared by P
's constraint interface.
Similarly, method values x.m
and method expressions
@@ -165,6 +165,12 @@ P
by virtue of the fact that all types in P
implement
m
. We hope to remove this restriction in Go 1.19.
x.f
+ where x
is of type parameter type even if all types in the
+ type parameter's type set have a field f
.
+ We may remove this restriction in Go 1.19.
+