You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This diagnostic was introduced by #15979.
However in the meantime the Go team [has backtracked](golang/go#62278 (comment))
on their decision, which leads to confusing alerts for user (e.g. github/codeql-action#2868).
Even using Go toolchains from 1.21 to 1.22 we weren't immediately able
to reproduce the problem that this diagnostics was meant to guard
against. Therefore it was deemed simpler to just remove it.
_En passant_ the `Makefile` now accepts `rtjo` not being set.
"As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).",
518
-
fmt.Sprintf("`%s` in `%s` does not match this syntax and there is no additional `toolchain` directive, which may cause some `go` commands to fail.", version, goModPath),
Copy file name to clipboardExpand all lines: go/ql/integration-tests/go-version-bump/diagnostics.expected
-17
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,3 @@
1
-
{
2
-
"location": {
3
-
"file": "go.mod"
4
-
},
5
-
"markdownMessage": "As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).\n\n`1.21` in `go.mod` does not match this syntax and there is no additional `toolchain` directive, which may cause some `go` commands to fail.",
Copy file name to clipboardExpand all lines: go/ql/integration-tests/resolve-build-environment/newer-go-needed/diagnostics.expected
-17
Original file line number
Diff line number
Diff line change
@@ -1,20 +1,3 @@
1
-
{
2
-
"location": {
3
-
"file": "go.mod"
4
-
},
5
-
"markdownMessage": "As of Go 1.21, toolchain versions [must use the 1.N.P syntax](https://go.dev/doc/toolchain#version).\n\n`1.22` in `go.mod` does not match this syntax and there is no additional `toolchain` directive, which may cause some `go` commands to fail.",
0 commit comments