golang.org/x/tools/gopls@v0.15.3/internal/test/marker/testdata/fixedbugs/issue66250.txt (about) 1 This bug checks the fix for golang/go#66250. Package references should not 2 crash when one package file lacks a package name. 3 4 TODO(rfindley): the -ignore_extra_diags flag is only necessary because of 5 problems matching diagnostics in the broken file, likely due to poor parser 6 recovery. 7 8 -- flags -- 9 -ignore_extra_diags 10 11 -- a.go -- 12 package x //@refs("x", "x") 13 14 -- b.go -- 15 16 func _() { 17 }