]> Cypherpunks repositories - gostls13.git/commit
go/printer: check whether !isTypeElem, instead of combinesWithName when ParenExpr
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Fri, 6 Sep 2024 16:28:20 +0000 (16:28 +0000)
committerGopher Robot <gobot@golang.org>
Fri, 6 Sep 2024 20:59:01 +0000 (20:59 +0000)
commit464aae706b0ca1edc96b6c6988a1553d75605fca
tree2fb1e90e477e4ec86e7bf0034eaf4067dac6ccb3
parent42d1f08cbbe32f3734ed701975897654ae25efe6
go/printer: check whether !isTypeElem, instead of combinesWithName when ParenExpr

See discussion in CL 610115 and CL 610758.

For #69206

Change-Id: I16f394cb3440106650fb64a466f2723a4dba3871
GitHub-Last-Rev: 37993b5baf11f83e8fb9428981965f2d964cddf3
GitHub-Pull-Request: golang/go#69309
Reviewed-on: https://go-review.googlesource.com/c/go/+/611355
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
src/go/printer/nodes.go