From: Ian Lance Taylor Date: Tue, 21 Dec 2021 20:04:57 +0000 (-0800) Subject: doc/go1.18: mention new go/types/Config.Context field X-Git-Tag: go1.18beta2~192 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=60f2c12a85470c87ef9c49d6f79458f575612e0d;p=gostls13.git doc/go1.18: mention new go/types/Config.Context field For #47694 For #47916 Change-Id: Ieeffaf161da744adfdb4da8aac58a64c109ebcab Reviewed-on: https://go-review.googlesource.com/c/go/+/373775 Trust: Ian Lance Taylor Reviewed-by: Robert Findley --- diff --git a/doc/go1.18.html b/doc/go1.18.html index f0b4a923fb..5f4cc591b7 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -587,10 +587,10 @@ Do not send CLs removing the interior tags from such phrases.
go/types
-

- The new Config.GoVersion - field sets the accepted Go language version. -

+

+ The new Config.GoVersion + field sets the accepted Go language version. +

Per the proposal @@ -669,7 +669,10 @@ Do not send CLs removing the interior tags from such phrases.

  • The new type Context and factory function NewContext - are 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, via the new + Config.Context + field.