-
Notifications
You must be signed in to change notification settings - Fork 799
extension crashes if go.mod
uses language version and the local go version is older than the go version in go.mod
#3317
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I'm seeing a similar problem, but
Running
Thus the go1.22.2 toolchain was able to download and use the go1.22.3 toolchain, but |
@hyangah We expect this to be fixed once 1.21.11 is released with the backported change to download 1.22.0 when 1.22 is listed in |
Still running in to this issue:
I don't understand where that
go.work
|
@heppu which is the IDE you are working? I managed to fix this manually selecting the go version used by VSCode (even if the IDE was already showing |
I'm using vscode-insider. I think this is gopls issue. I can see that gopls is build with 1.23.6 toolchain:
|
EDIT: I was to quick, it didn't fix the issue. |
@heppu did you manage to find a fix? |
@bweston92 Nope but I think there was a gopls ticket when I was googling about it. |
Repro case:
The root cause is
golang/go#65580
that was closed as a duplicate of golang/go#62278,
which was closed in favor of a better error message.
cc @golang/tools-team
The text was updated successfully, but these errors were encountered: