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

multi-loop lowering bug #24979

Closed
StefanKarpinski opened this issue Dec 8, 2017 · 3 comments
Closed

multi-loop lowering bug #24979

StefanKarpinski opened this issue Dec 8, 2017 · 3 comments
Assignees
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage)

Comments

@StefanKarpinski
Copy link
Sponsor Member

Reported here #330 (comment):

julia> for x=1:4, y=1:2
          println( (x,y) )
          (y,x) = (x,y)
       end
(1, 1)
(1, 2)
(2, 1)
(1, 2)
(3, 1)
(1, 2)
(4, 1)
(1, 2)

Expected (x and y reset):

(1, 1)
(1, 2)
(2, 1)
(2, 2)
(3, 1)
(3, 2)
(4, 1)
(4, 2)

Seen on both 0.6.1 and recent master (00e3a9f).

@StefanKarpinski StefanKarpinski added the compiler:lowering Syntax lowering (compiler front end, 2nd stage) label Dec 8, 2017
@martinholters
Copy link
Member

I think this is a dup of #330, see #330 (comment).

@StefanKarpinski
Copy link
Sponsor Member Author

We'll close if it is a dup 👍

@JeffBezanson
Copy link
Sponsor Member

Closing as dup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
compiler:lowering Syntax lowering (compiler front end, 2nd stage)
Projects
None yet
Development

No branches or pull requests

3 participants