#!watchflakes
default <- pkg ~ `gopls` && output ~ `panic: surplus bytes` && output ~ `\(\*frob\)\.Decode`
Issue created automatically to collect these failures.
=== RUN TestDefinition
=== PAUSE TestDefinition
=== CONT TestDefinition
integration_test.go:291: gopls definition a.go:7:2: exited with code 2, want success: true (gopls definition a.go:7:2: exit=2 stdout=<<./a.go:3:6-7: defined here as func f()
>> stderr=<<panic: surplus bytes
goroutine 1404 [running]:
golang.org/x/tools/gopls/internal/util/frob.(*frob).Decode(0x5e9d31dcf200, {0x5e9d3d0e9c00, 0x8, 0x200}, {0x101845428?, 0x5e9d3c367420?})
/Users/swarming/.swarming/w/ir/x/w/targetrepo2751927001/gopls/internal/util/frob/frob.go:252 +0x18c
golang.org/x/tools/gopls/internal/util/frob.Codec[...].Decode(...)
...
golang.org/x/tools/gopls/internal/cache.(*analysisNode).runCached(0x1450f89b2000, {0x105ff2a98, 0x1450f89862d0}, {0xe2, 0x37, 0x30, 0x23, 0x4a, 0xd, 0x79, ...})
/Users/swarming/.swarming/w/ir/x/w/targetrepo2751927001/gopls/internal/cache/analysis.go:582 +0x1d8
golang.org/x/tools/gopls/internal/cache.(*Snapshot).Analyze.func6.1()
/Users/swarming/.swarming/w/ir/x/w/targetrepo2751927001/gopls/internal/cache/analysis.go:340 +0x3d0
golang.org/x/sync/errgroup.(*Group).Go.func1()
/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:93 +0x4c
created by golang.org/x/sync/errgroup.(*Group).Go in goroutine 1128
/Users/swarming/.swarming/w/ir/x/w/gopath/pkg/mod/golang.org/x/sync@v0.20.0/errgroup/errgroup.go:78 +0x94
>>)
--- FAIL: TestDefinition (3.94s)
Issue created automatically to collect these failures.
Example (log):
— watchflakes