]> Cypherpunks repositories - gostls13.git/commit
cmd/go/internal/load: improve comments
authorsivchari <shibuuuu5@gmail.com>
Tue, 1 Aug 2023 05:00:52 +0000 (05:00 +0000)
committerGopher Robot <gobot@golang.org>
Mon, 29 Jan 2024 17:22:52 +0000 (17:22 +0000)
commit653abefddf2c627d5d1805d35e55c5a01eb32c6e
treefd5c340a56498ccaa5a193a023fcd987b80af0d2
parentf719d5cffdb8298eff7a5ef533fe95290e8c869c
cmd/go/internal/load: improve comments

isTestFunc checked whether the parameter type is B, M or T before the version of Go1.17.
But, after Go1.18, isTestFunc checks F, too.

Change-Id: I30bc97c2b8f2974bc9ae4df2f32dc8dce760d7d6
GitHub-Last-Rev: 507d5b1f74b2f2d0a75d61fe169cc0cc40d132c0
GitHub-Pull-Request: golang/go#56127
Reviewed-on: https://go-review.googlesource.com/c/go/+/441835
Reviewed-by: Michael Matloob <matloob@golang.org>
Reviewed-by: Bryan Mills <bcmills@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
src/cmd/go/internal/load/test.go