-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Tuple destructuring is broken with closure iterators #15924
Labels
Comments
I had a look it is not arc related. Closure iterators and tuple unpacking don't play together in any gc mode |
It may be something very simple. When I rewrite it trivially without destructuring in the header of
|
iterator walk(): (int, int) {.closure.} =
yield (10,11)
for i,j in walk():
echo i This works. |
ringabout
added a commit
that referenced
this issue
Jan 13, 2024
Araq
pushed a commit
that referenced
this issue
Jan 13, 2024
narimiran
pushed a commit
that referenced
this issue
Apr 19, 2024
narimiran
pushed a commit
that referenced
this issue
Apr 20, 2024
narimiran
pushed a commit
that referenced
this issue
Apr 20, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Compiler crashes with --gc:orc or has an internal error:
Example
Current Output
Expected Output
not to crash
Possible Solution
Additional Information
Possibly related with #15896.
The text was updated successfully, but these errors were encountered: