[tools] gopls: handle LabeledStmts properly in extract function

1 view
Skip to first unread message

Alan Donovan (Gerrit)

unread,
Jan 15, 2026, 4:37:53 PM (3 days ago) Jan 15
to Daniel Morsing, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Madeline Kalil, Go LUCI, Jorropo, golang-co...@googlegroups.com

Alan Donovan submitted the change

Change information

Commit message:
gopls: handle LabeledStmts properly in extract function

Fixes golang/go#77156
Change-Id: I861b31fe2735e430ad85e3001a70768a6a6a6964
Reviewed-by: Madeline Kalil <mka...@google.com>
Reviewed-by: Alan Donovan <adon...@google.com>
Files:
  • M gopls/internal/golang/extract.go
  • M gopls/internal/test/integration/misc/extract_test.go
Change size: M
Delta: 2 files changed, 84 insertions(+), 2 deletions(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Alan Donovan, +2 by Madeline Kalil
  • requirement satisfiedTryBots-Pass: LUCI-TryBot-Result+1 by Go LUCI
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: tools
Gerrit-Branch: master
Gerrit-Change-Id: I861b31fe2735e430ad85e3001a70768a6a6a6964
Gerrit-Change-Number: 736060
Gerrit-PatchSet: 4
Gerrit-Owner: Daniel Morsing <daniel....@gmail.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: Daniel Morsing <daniel....@gmail.com>
Gerrit-Reviewer: Jorropo <jorro...@gmail.com>
Gerrit-Reviewer: Madeline Kalil <mka...@google.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages