diff --git a/doc/go1.18.html b/doc/go1.18.html index 2813ddc12c..8142a93b7b 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -528,6 +528,11 @@ Do not send CLs removing the interior tags from such phrases.
+ The new Config.GoVersion
+ field sets the accepted Go language version.
+
Per the proposal
@@ -540,7 +545,7 @@ Do not send CLs removing the interior tags from such phrases.
The new type
TypeParam
, factory function
NewTypeParam
,
- and associated methods were added to represent a type parameter.
+ and associated methods are added to represent a type parameter.
Named.SetTypeParams
to set the
type parameters (for instance, when importing a named type where allocation of the named
- type and setting of type parameters cannot be done both at once due to possible cycles).
+ type and setting of type parameters cannot be done simultaneously due to possible cycles).
Interface
type has four new methods:
@@ -586,7 +591,7 @@ Do not send CLs removing the interior tags from such phrases.
Term
, factory functions
NewUnion
and
NewTerm
, and associated
- methods were added to represent type sets in interfaces.
+ methods are added to represent type sets in interfaces.
ArgumentError
- and associated methods were added to represent an error related to a type argument.
+ and associated methods are added to represent an error related to a type argument.
Context
and factory function
NewContext
- were added to facilitate sharing of identical type instances across type-checked packages.
+ are added to facilitate sharing of identical type instances across type-checked packages.