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

Fix loop merge bookkeeping #1622

Conversation

housel
Copy link
Member

@housel housel commented Jun 29, 2024

Fixes: #1461, #1523

* sources/dfmc/flow-graph/utilities.dylan
  (delete-computation! on <loop-merge>): Override to properly remove
   dead loop merges from the auxiliary collections kept within <loop>
   and <loop-call> nodes.
This adds a regression test for issue 1523, a compilation failure that
occurrs when loop merges are deleted as dead code.

* sources/dylan/tests/regressions.dylan (test issue-1523): New test
  with a loop merge eligible for deletion.
@housel housel merged commit ba2348e into dylan-lang:1523-no-value-defined-for-temporary Jul 1, 2024
1 check passed
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.

3 participants