-
-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Switch from go/loader to go/packages
This removes the need for kisielk/gotool, too. While at it, remove mvdan.cc/lint, whose API no longer makes sense. Added one TODO for a weird bug I've encountered, where we end up parsing directories that don't contain any Go files. Also added a TODO where we deduplicate warnings at the end, since it seems somewhat buggy that we must do that. The only change to testdata is a warning, since go/packages doesn't use relative package paths. That seems fair.
- Loading branch information
Showing
2 changed files
with
48 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters