Skip to content

Conversation

@derekparker
Copy link
Member

This should have been done in the 1.25 release.

Also update golang.org/x/tools

This fixes the following error when running make test:

vendor/golang.org/x/tools/internal/tokeninternal/tokeninternal.go:78:9:
invalid array length -delta * delta (constant -256 of type int64) ```

This is the minimum version update which fixes the problem. It bumps our
go.mod up to 1.22, but since we also bumped our max supported version I
think this is ok.

This should have been done in the 1.25 release.
This fixes the following error when running `make test`:

``` # golang.org/x/tools/internal/tokeninternal
vendor/golang.org/x/tools/internal/tokeninternal/tokeninternal.go:78:9:
invalid array length -delta * delta (constant -256 of type int64) ```

This is the minimum version update which fixes the problem. It bumps our
go.mod up to 1.22, but since we also bumped our max supported version I
think this is ok.
Copy link
Member

@aarzilli aarzilli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@aarzilli aarzilli merged commit 4a2a6e1 into go-delve:master Jul 9, 2025
2 checks passed
@derekparker derekparker deleted the wip/more-125-updates branch October 28, 2025 18:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants