]> Cypherpunks repositories - gostls13.git/commit
cmd/go: drop unnecessary Package argument to reportCmd
authorAustin Clements <austin@google.com>
Tue, 17 Oct 2023 16:39:32 +0000 (12:39 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 18 Oct 2023 14:46:56 +0000 (14:46 +0000)
commit4bf4c7d2e2aceeb9fe53642ab1f200064aff8163
tree9f1300e55fd1320279ddd4ce069d038f86e3dcfd
parent66287d55060d6ca3e9bc81f11dc66dda1cef2633
cmd/go: drop unnecessary Package argument to reportCmd

Now that we've dropped the redundant Package arguments to many
functions, we can see that the Package argument to reportCmd is always
nil. That means we can drop it and always use a.Package.

For #62067.

Change-Id: I2e11e770f495d6f770047993358c76b08204e923
Reviewed-on: https://go-review.googlesource.com/c/go/+/536096
Auto-Submit: Austin Clements <austin@google.com>
Reviewed-by: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/work/cover.go
src/cmd/go/internal/work/exec.go
src/cmd/go/internal/work/gc.go
src/cmd/go/internal/work/gccgo.go