| 1 |
--- |
| 2 |
name: 🦆 False negative in Staticcheck |
| 3 |
about: Your code is wrong but Staticcheck doesn't complain about it. |
| 4 |
labels: false-negative, needs-triage |
| 5 |
title: "" |
| 6 |
--- |
| 7 |
<!-- |
| 8 |
Please make sure to include the following information in your issue report: |
| 9 |
|
| 10 |
- The output of 'staticcheck -version' |
| 11 |
- The output of 'staticcheck -debug.version' (it is fine if this command fails) |
| 12 |
- The output of 'go version' |
| 13 |
- The output of 'go env' |
| 14 |
- Exactly which command you ran |
| 15 |
- Output of the command and what's wrong with the output |
| 16 |
- Where we can read the code you're running Staticcheck on |
| 17 |
(GitHub repo, link to playground, code embedded in the issue, ...) |
| 18 |
--> |
| 19 |
|