Skip to content

Remove redefinitions of loop variables in for-loops.#1240

Open
atombrella wants to merge 3 commits intocontainernetworking:mainfrom
atombrella:feature/modernize_forvar
Open

Remove redefinitions of loop variables in for-loops.#1240
atombrella wants to merge 3 commits intocontainernetworking:mainfrom
atombrella:feature/modernize_forvar

Conversation

@atombrella
Copy link
Copy Markdown
Contributor

@atombrella atombrella commented Mar 11, 2026

This pattern was made obsolete with the GoLang 1.22 semantics for the for-loop.

I have opened an issue to get the ginkgo documentation updated.

This pattern was made obsolete with the GoLang 1.22 semantics for the
for-loop.

Signed-off-by: Mads Jensen <atombrella@users.noreply.github.com>
@atombrella atombrella force-pushed the feature/modernize_forvar branch from 417acad to 776e606 Compare March 11, 2026 17:26
Copy link
Copy Markdown
Contributor

@e0ne e0ne left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for cleaning this up!

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