Debian Codegraph @

gopls/internal/test/marker/testdata/codeaction/removeparam_witherrs.txt

raw
1 This test checks that we can't remove parameters for packages with errors.
2
3 -- p.go --
4 package p
5
6 func foo(unused int) { //@codeaction("unused", "refactor.rewrite.removeUnusedParam", err=re"found 0")
7 }
8
9 func _() {
10 foo("") //@diag(`""`, re"cannot use")
11 }