You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ staticcheck .
dialog.go:112:2: this value of start is never used (SA4006)
dialog.go:112:11: Now doesn't have side effects and its return value is ignored (SA4017)
However, if I uncomment that panic() I do indeed get:
% staticcheck
main.go:28:2: this value of start is never used (SA4006)
main.go:28:11: Now doesn't have side effects and its return value is ignored (SA4017)
Arguably that warning is accurate, although it's a bit confusing.
These are false positives, I'm pretty sure.
Relevant code:
start
is definitely used a few lines down.The text was updated successfully, but these errors were encountered: