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

Problem with eachrow and eachrow! + break/continue #334

Closed
bkamins opened this issue Jul 8, 2022 · 0 comments · Fixed by #335
Closed

Problem with eachrow and eachrow! + break/continue #334

bkamins opened this issue Jul 8, 2022 · 0 comments · Fixed by #335

Comments

@bkamins
Copy link
Member

bkamins commented Jul 8, 2022

Here is a MWE:

julia> df = DataFrame(a=1:2, b=2:3);

julia> @eachrow! df begin
               for i in 1:1
                   continue
                   println("and this is super bad as inner loop is affected")
               end
               continue
               println("should not happen")
           end;
and this is super bad as inner loop is affected
should not happen
and this is super bad as inner loop is affected
should not happen
pdeffebach added a commit that referenced this issue Sep 15, 2022
* delete weird lines

* one more test

* add docs
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 a pull request may close this issue.

1 participant