Skip to content
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

ignore labeled continue in select statement #1158

Merged

Conversation

tony2001
Copy link
Contributor

.. in nested for loops
this fixes issue #1130 and adds a test for it

@quasilyte
Copy link
Member

quasilyte commented Jan 3, 2022

Hi. Sorry for the late review.
This PR changed the function from the common code, so I was delaying it's review.
Now I watched it more closely and it looks OK.

I would like to merge it, but could you fix the lining errors first?
You should be able to reproduce it locally with: make ci-linter.

If you don't have gocritic sources locally anymore, I can figure something out and fix that for you.

@tony2001
Copy link
Contributor Author

tony2001 commented Jan 4, 2022

Oh, I didn't know about make ci-linter and it didn't show any warnings with default options, sorry.
Fixed & pushed to the branch.

@tony2001 tony2001 force-pushed the ignore_labeled_continue_in_select branch from 8dbc237 to f65d762 Compare January 4, 2022 10:35
@quasilyte quasilyte merged commit 0326f2b into go-critic:master Jan 4, 2022
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.

None yet

2 participants