]> Cypherpunks repositories - gostls13.git/commit
go/printer: do not panic on *ast.ParenExpr in combinesWithName
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Mon, 2 Sep 2024 12:37:51 +0000 (12:37 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 4 Sep 2024 13:34:59 +0000 (13:34 +0000)
commit700920bbb73b39af4794854e79b76dc9b66b19ca
tree60c2091feb64986f70c437264bacff321935a2c2
parent794b0a07483fdae7125f325d34fbea6b40a67885
go/printer: do not panic on *ast.ParenExpr in combinesWithName

Fixes #69206

Change-Id: I1b5a664c22d5739e2c6748d562591f57345b536e
GitHub-Last-Rev: 1798e2c65b3c2c0c1ef674b000dce2636c834783
GitHub-Pull-Request: golang/go#69208
Reviewed-on: https://go-review.googlesource.com/c/go/+/610115
Reviewed-by: Robert Griesemer <gri@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/go/printer/nodes.go
src/go/printer/testdata/generics.golden
src/go/printer/testdata/generics.input