From: Alan Donovan
@@ -131,7 +131,7 @@ Do not send CLs removing the interior tags from such phrases.
-TODO: complete this section, or delete if not needed @@ -414,17 +414,18 @@ Do not send CLs removing the interior tags from such phrases.
- TODO: https://go.dev/issue/28089: add func IsGenerated(*File) bool +
+ The new IsGenerated
predicate
+ reports whether a file syntax tree contains the
+ special comment
+ that conventionally indicates that the file was generated by a tool.
TODO: https://go.dev/cl/476276: go/ast: add File.GoVersion; modified api/next/59033.txt
- -- TODO: https://go.dev/cl/487935: go/ast: add IsGenerated(*File) predicate; modified api/next/28089.txt -
- TODO: https://go.dev/cl/464515: go/token: add (*File).Lines method; modified api/next/57708.txt +
+ The new File.Lines
method
+ returns the file's line-number table in the same form as accepted by
+ File.SetLines
.
- TODO: https://go.dev/issue/56984: add Int.Float64 conversion (was initially: {ToInt64,ToUint64,Float64}) -
- -- TODO: https://go.dev/cl/453115: math/big: add Int.Float64 conversion; modified api/next/56984.txt +
+ The new Int.ToFloat64
+ method returns the nearest floating-point value to a
+ multi-precision integer, along with an indication of any
+ rounding that occurred.