Skip to content

test(No return rule): add test - looping over generator case #7373

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

Closed
wants to merge 2 commits into from

Conversation

yxliang01
Copy link

@yxliang01 yxliang01 commented Aug 20, 2019

For unconditionally looping over non-exhaustive generators, it should be acceptable to have no return statement. For unconditionally looping over exhaustive generators, the function should have return statement.

Partially addressing #2276

This should be merged after fixing #7374 .

For unconditionally looping over non-exhaustive generators, it should be acceptable to have no `return` statement. For unconditionally looping over exhaustive generators, the function should have `return` statement.
@msullivan
Copy link
Collaborator

We can reopen if #7374 is fixed

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