Skip to content

Commit

Permalink
language/go: add golang.org/x/tools/internal/typeparams to nogo deps …
Browse files Browse the repository at this point in the history
…list (#1074)

This package was recently added as a dependency of astutil in order to
handle generics. With this change, Gazelle will generate a
go_tool_library target for this package.
  • Loading branch information
Jay Conrod authored Jun 29, 2021
1 parent c932b63 commit 9f72eed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions language/go/generate.go
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@ func isToolLibImportPath(imp string) bool {
"golang.org/x/tools/go/types/objectpath",
"golang.org/x/tools/go/types/typeutil",
"golang.org/x/tools/internal/analysisinternal",
"golang.org/x/tools/internal/typeparams",
"golang.org/x/tools/internal/lsp/fuzzy":
// Indirect dependency of nogo.
return true
Expand Down

0 comments on commit 9f72eed

Please sign in to comment.