blob: 594ea93a471c68926793edc67488b17ffa754b3a [file] [log] [blame]
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +00001Only new gopls issues should be reported when existing issues are present
2
3-- p.go --
4package p
5
6func F() {
7 x := 42
8}
9
10-- .commit --
11Initial commit with existing gopls issue
12
13-- p.go --
14package p
15
16func F() {
17 x := 42
18}
19
20func G() {
21 panic("i went down down down")
22 panic("burning ring of fire")
23}
24
25-- .commit --
26Add a new function with a new gopls issue
27
28-- .run_test --
Josh Bleecher Snyderffecb1e2025-04-28 18:59:14 +000029# Errors
30
Josh Bleecher Snyder833a0f82025-04-24 18:39:36 +000031Gopls check issues detected:
32
331. /PATH/TO/REPO/p.go:9:2-31: unreachable code
34
35IMPORTANT: Only fix new gopls check issues in parts of the code that you have already edited. Do not change existing code that was not part of your current edits.
36
37
38Please fix before proceeding.