From: Alan Donovan Date: Mon, 11 Dec 2023 22:50:08 +0000 (-0500) Subject: doc/go1.22: document ast.Unparen X-Git-Tag: go1.22rc1~32 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=ce43fb806f8fc1442adfef812db9301910d3210c;p=gostls13.git doc/go1.22: document ast.Unparen Updates #60061 Change-Id: Ifa51f0bac0346ebc352c7524204aa94336a2b5ad Reviewed-on: https://go-review.googlesource.com/c/go/+/548882 LUCI-TryBot-Result: Go LUCI Reviewed-by: Michael Pratt --- diff --git a/doc/go1.22.html b/doc/go1.22.html index f1e713cb9e..a7a51a1ffd 100644 --- a/doc/go1.22.html +++ b/doc/go1.22.html @@ -492,7 +492,10 @@ defer func() {

- TODO: https://go.dev/issue/60061: go/ast: add func Unparen(Expr) Expr + The new ast.Unparen + function removes any enclosing + parentheses from + an expression.