Skip to content

nogo: disable loopclosure and upgrade x/tools#11526

Merged
sluongng merged 1 commit intomasterfrom
sluongng/upgrade-x-tools
Mar 6, 2026
Merged

nogo: disable loopclosure and upgrade x/tools#11526
sluongng merged 1 commit intomasterfrom
sluongng/upgrade-x-tools

Conversation

@sluongng
Copy link
Contributor

@sluongng sluongng commented Mar 6, 2026

Upgraded to the latest version of x/tools so that we can start using the
modernize analyzers to upgrade our code base.

Disable loopclosure as a result since it's only relevant for Go <1.22
https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/loopclosure

@sluongng sluongng requested review from bduffany and fmeum March 6, 2026 08:53
Upgraded to the latest version of x/tools so that we can start using the
modernize analyzers to upgrade our code base.

Disable loopclosure as a result since it's only relevant for Go <1.22
https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/loopclosure
@sluongng sluongng force-pushed the sluongng/upgrade-x-tools branch from 02a5522 to a1116d5 Compare March 6, 2026 11:27
@sluongng sluongng merged commit 8c8f90e into master Mar 6, 2026
12 checks passed
@sluongng sluongng deleted the sluongng/upgrade-x-tools branch March 6, 2026 12:44
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