]> Cypherpunks repositories - gostls13.git/commit
go/types, types2: remove global goVersion flag (cleanup)
authorRobert Griesemer <gri@golang.org>
Wed, 19 Oct 2022 21:22:25 +0000 (14:22 -0700)
committerGopher Robot <gobot@golang.org>
Wed, 19 Oct 2022 21:46:46 +0000 (21:46 +0000)
commitbfcc3a755cbd9b5c38a4961f1df76c4db0d41442
tree1b4c6f6f7ae2389905df394f5d492ffb753c4a74
parent6fe3ccd74c4bf53552da3d9f59463a8a291f59db
go/types, types2: remove global goVersion flag (cleanup)

Now that we have an easy mechanism to set the Go version with a comment
line directly in test files, we don't need this flag anymore.

Change-Id: Ic1f1a6fdf2c6c692512bff49650916ec43645aee
Reviewed-on: https://go-review.googlesource.com/c/go/+/444275
Reviewed-by: Robert Findley <rfindley@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Robert Griesemer <gri@google.com>
Run-TryBot: Robert Griesemer <gri@google.com>
Auto-Submit: Robert Griesemer <gri@google.com>
src/cmd/compile/internal/types2/check_test.go
src/go/types/check_test.go