| Josh Bleecher Snyder | 833a0f8 | 2025-04-24 18:39:36 +0000 | [diff] [blame] | 1 | Pre-existing gopls issues should not be reported as regressions |
| 2 | |||||
| 3 | -- p.go -- | ||||
| 4 | package p | ||||
| 5 | |||||
| 6 | func F() { | ||||
| 7 | x := 42 | ||||
| 8 | } | ||||
| 9 | |||||
| 10 | -- .commit -- | ||||
| 11 | Initial commit with existing gopls issue | ||||
| 12 | |||||
| 13 | -- p.go -- | ||||
| 14 | package p | ||||
| 15 | |||||
| 16 | func F() { | ||||
| 17 | x := 42 | ||||
| 18 | // unrelated change | ||||
| 19 | } | ||||
| 20 | |||||
| 21 | -- .commit -- | ||||
| 22 | Make a change but keep the same gopls issue | ||||
| 23 | |||||
| 24 | -- .run_test -- | ||||
| 25 | OK | ||||