From: Robert Findley Date: Tue, 7 Jun 2022 13:42:03 +0000 (-0400) Subject: doc/go1.19: complete TODOs for go/types X-Git-Tag: go1.19beta1~36 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=429a4041eb2657fad8870cad5662202f3bd0eeb6;p=gostls13.git 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 --- 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.