From 60f2c12a85470c87ef9c49d6f79458f575612e0d Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 21 Dec 2021 12:04:57 -0800 Subject: [PATCH] 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 --- doc/go1.18.html | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/doc/go1.18.html b/doc/go1.18.html index f0b4a923fb021..5f4cc591b75ed 100644 --- a/doc/go1.18.html +++ b/doc/go1.18.html @@ -587,10 +587,10 @@

Minor changes to the library

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 @@

Minor changes to the library

  • 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.