diff --git a/doc/go1.18.html b/doc/go1.18.html index ed32a93bc32..1a68482ad61 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -909,6 +909,19 @@ Do not send CLs removing the interior tags from such phrases. field. +

+ The predicates + AssignableTo, + ConvertibleTo, + Implements, + Identical, + IdenticalIgnoreTags, and + AssertableTo + now also work with arguments that are or contain generalized interfaces, i.e. interfaces + that may only be used as type constraints in Go code. + Note that the behavior of AssertableTo is undefined if the first argument + is a generalized interface. +