[tools] gopls: add shadowed semantic token modifier

0 views
Skip to first unread message

Mateusz Poliwczak (Gerrit)

unread,
Apr 9, 2026, 5:02:24 PM (10 hours ago) Apr 9
to goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, David Chase, Go LUCI, Alan Donovan, golang-co...@googlegroups.com

Mateusz Poliwczak submitted the change

Change information

Commit message:
gopls: add shadowing semantic token modifier

Fixes #75368
Change-Id: I6a6a6964b6326f0da679690a59d969eed6cf8cfb
Reviewed-by: David Chase <drc...@google.com>
Auto-Submit: Alan Donovan <adon...@google.com>
Reviewed-by: Alan Donovan <adon...@google.com>
Files:
  • M gopls/doc/editor/vim.md
  • M gopls/doc/features/passive.md
  • M gopls/internal/golang/semtok.go
  • M gopls/internal/protocol/semtok/semtok.go
  • A gopls/internal/test/integration/bench/semtok_test.go
  • M gopls/internal/test/marker/testdata/token/modifiers.txt
  • A gopls/internal/test/marker/testdata/token/shadowing.txt
Change size: L
Delta: 7 files changed, 267 insertions(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
  • requirement satisfiedCode-Review: +2 by Alan Donovan, +1 by David Chase
  • 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: I6a6a6964b6326f0da679690a59d969eed6cf8cfb
Gerrit-Change-Number: 702555
Gerrit-PatchSet: 29
Gerrit-Owner: Mateusz Poliwczak <mpoliw...@gmail.com>
Gerrit-Reviewer: Alan Donovan <adon...@google.com>
Gerrit-Reviewer: David Chase <drc...@google.com>
Gerrit-Reviewer: Mateusz Poliwczak <mpoliw...@gmail.com>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages