]> Cypherpunks repositories - gostls13.git/commit
go/parser: convert *ast.CallExpr into *ast.ParenExpr in extractName
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Wed, 4 Sep 2024 16:11:06 +0000 (16:11 +0000)
committerGopher Robot <gobot@golang.org>
Wed, 4 Sep 2024 18:29:14 +0000 (18:29 +0000)
commitfbe74d8ddbd63dd2f8c6a015709ee8695a061647
tree5cbb74d6583d64352d6f963158731f732d524be9
parentc541aabfc3d104c71a139e4d3599c220a5c6d019
go/parser: convert *ast.CallExpr into *ast.ParenExpr in extractName

We are loosing a bit of the AST information, i believe we should
convert *ast.CallExpr into *ast.ParenExpr.

See https://github.com/golang/go/issues/69206#issuecomment-2324592744

Change-Id: I2d9ad8a3dead664a4fa9ac324e8d8a955a4d97c8
GitHub-Last-Rev: e5db56d5cafdc9a8b0ffdfe4524632fd3b6cbb12
GitHub-Pull-Request: golang/go#69209
Reviewed-on: https://go-review.googlesource.com/c/go/+/610078
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
src/go/parser/parser.go
src/go/parser/parser_test.go