compiler: add support for Go 1.23 range-over-func

This commit is contained in:
Ayke van Laethem
2024-08-15 19:55:39 +02:00
committed by Ron Evans
parent 1d1f4fc401
commit 8b626e6ea7
6 changed files with 37 additions and 2 deletions
+3
View File
@@ -97,6 +97,9 @@ func TestBuild(t *testing.T) {
if minor >= 22 {
tests = append(tests, "go1.22/")
}
if minor >= 23 {
tests = append(tests, "go1.23/")
}
if *testTarget != "" {
// This makes it possible to run one specific test (instead of all),