]> Cypherpunks repositories - gostls13.git/commit
go/types: propagate *ast.LabeledStmt in blockBranches properly
authorMateusz Poliwczak <mpoliwczak34@gmail.com>
Tue, 24 Dec 2024 07:23:13 +0000 (07:23 +0000)
committerGopher Robot <gobot@golang.org>
Thu, 13 Feb 2025 17:46:09 +0000 (09:46 -0800)
commitaa8d4df9d9b8659abc7bdc1485c11db515ed1479
treea20b5b2ba52abbc46df43115b0f5c8869342be2a
parente4b12eb8af28d3f505a5487b76dbfd4b1a37c0da
go/types: propagate *ast.LabeledStmt in blockBranches properly

Fixes #70974

Change-Id: I330c0ae53dcbcdb173ab514ee94f2ca53944df09
GitHub-Last-Rev: 7c2b740da6d6e94ac8787f04ad8942f3776ac56c
GitHub-Pull-Request: golang/go#70976
Reviewed-on: https://go-review.googlesource.com/c/go/+/638257
Reviewed-by: Michael Knyszek <mknyszek@google.com>
Auto-Submit: Alan Donovan <adonovan@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Commit-Queue: Alan Donovan <adonovan@google.com>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/cmd/compile/internal/types2/labels.go
src/go/types/labels.go
src/internal/types/testdata/check/doubled_labels.go [new file with mode: 0644]
src/internal/types/testdata/check/issue70974.go [new file with mode: 0644]