From 429a4041eb2657fad8870cad5662202f3bd0eeb6 Mon Sep 17 00:00:00 2001 From: Robert Findley Date: Tue, 7 Jun 2022 09:42:03 -0400 Subject: [PATCH] doc/go1.19: complete TODOs for go/types Fill in the details of outstanding TODO items for go/types changes. For #51400 Change-Id: Ib40d75fa1018aa164022cb49b293795dd597d49d Reviewed-on: https://go-review.googlesource.com/c/go/+/410815 Run-TryBot: Robert Findley Reviewed-by: Russ Cox TryBot-Result: Gopher Robot Reviewed-by: Robert Griesemer --- doc/go1.19.html | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/doc/go1.19.html b/doc/go1.19.html index db2b1e1ab8..42494c203e 100644 --- a/doc/go1.19.html +++ b/doc/go1.19.html @@ -446,10 +446,19 @@ Do not send CLs removing the interior tags from such phrases.
go/types

- TODO: https://go.dev/cl/395535: add Var.Origin and Func.Origin -

-

- TODO: https://go.dev/cl/404885: a finite number of types are reachable via Named.Underlying, Named.Method + The new methods Func.Origin + and Var.Origin return the + corresponding Object of the + generic type for synthetic Func + and Var objects created during type + instantiation. +

+

+ It is no longer possible to produce an infinite number of distinct-but-identical + Named type instantiations via + recursive calls to + Named.Underlying or + Named.Method.

-- 2.50.0