- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for BenchmarkXxx (0.35 sec)
-
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/tests/tests.go
if !isTestParam(fn.Type.Params.List[0].Type, prefix[:1]) { return } if tparams := fn.Type.TypeParams; tparams != nil && len(tparams.List) > 0 { // Note: cmd/go/internal/load also errors about TestXXX and BenchmarkXXX functions with type parameters. // We have currently decided to also warn before compilation/package loading. This can help users in IDEs. at := tokenRange{tparams.Opening, tparams.Closing}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 02:38:00 UTC 2024 - 14.4K bytes - Viewed (0)