aboutsummaryrefslogtreecommitdiff
path: root/gopls/internal/lsp/cache/cache.go
diff options
context:
space:
mode:
Diffstat (limited to 'gopls/internal/lsp/cache/cache.go')
-rw-r--r--gopls/internal/lsp/cache/cache.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/gopls/internal/lsp/cache/cache.go b/gopls/internal/lsp/cache/cache.go
index ef56b12ef..9da185ccc 100644
--- a/gopls/internal/lsp/cache/cache.go
+++ b/gopls/internal/lsp/cache/cache.go
@@ -209,7 +209,7 @@ func (c *Cache) PackageStats(withNames bool) template.HTML {
typsCost := typesCost(v.pkg.types.Scope())
typInfoCost := typesInfoCost(v.pkg.typesInfo)
stat := packageStat{
- id: v.pkg.m.ID,
+ id: v.pkg.id,
mode: v.pkg.mode,
types: typsCost,
typesInfo: typInfoCost,