Debian Codegraph @

gopls/internal/test/marker/testdata/fixedbugs/issue66109.txt

raw
1 This test exercises the crash in golang/go#66109: a dangling reference due to
2 test variants of a command-line-arguments package.
3
4 Depends on go1.22+ go list errors.
5
6 -- flags --
7 -min_go_command=go1.22
8
9 -- go.mod --
10 module example.com/tools
11
12 go 1.22
13
14 -- tools_test.go --
15 //go:build tools
16
17 package tools //@diag("tools", re"No packages found")
18
19 import (
20 _ "example.com/tools/tool"
21 )
22
23 -- tool/tool.go --
24 package main
25
26 func main() {
27 }