Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
cmd/go: "could not load export data" regression running staticcheck #34588
Steps to reproduce:
I expect it to report the usual set of linter errors (or none, if the linter reports no errors). Instead I get output that looks like this:
I cannot reproduce with the previous commit in the Go tree (683ef8c).
I am trying to run Go tip as my primary development environment but this is the second workflow-breaking issue I have run into in two weeks (previously #34294). I am willing to accept occasional workflow disturbances but two in two weeks that require 30-60 minutes to track down is too many.
If a change in the export data requires these tools to be updated, maybe the new versions can be released in parallel.
I don't think so... that issue seems to be that it is tedious to update the logic in two places, but the author seems to think that the listed patches fixed things.
I am compiling go and x/tools with both of the listed commits included - the newest versions of each - and getting the error message above.