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
Shortly after 2019.2 was branched, I noticed the following on master:
$ staticcheck -checks all,-ST1000 -unused.whole-program ./...
-: could not load export data: no export data for "github.com/x/y/z/app1/test" (compile)
-: could not load export data: no export data for "github.com/x/y/z/app2/test" (compile)
-: could not load export data: no export data for "github.com/x/y/z/app3/test" (compile)
$ echo ${?}
1
$
Please make sure to include the following information in your issue report:
The output of 'staticcheck -version'
staticcheck (no version)
The output of 'staticcheck -debug.version' (it is fine if this command fails)
staticcheck (no version)
Compiled with Go version: go1.13.4
Built without Go modules
Summary:
I have some packages that contain only
*_test.go
files. When run with therelease.2019.2
there are no issues:Shortly after 2019.2 was branched, I noticed the following on master:
Please make sure to include the following information in your issue report:
Exactly which command you ran
See above.
Output of the command and what's wrong with the output
See above.
Where we can read the code you're running staticcheck on
Currently private, but I'm optimistic this is trivial to reproduce.
The text was updated successfully, but these errors were encountered: