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

BUGFIX: Let terms in CFG creation #343

Merged
merged 1 commit into from
Sep 20, 2023
Merged

BUGFIX: Let terms in CFG creation #343

merged 1 commit into from
Sep 20, 2023

Conversation

thatplguy
Copy link
Collaborator

Fixes what I suspect is a bug in how Let terms are translated to CFG nodes, where the bound name is inserted into the wrong node(s).

Seems like a benign bug though -- I think Let terms are translated to Do terms somewhere upstream, because I wasn't able to reproduce the bug in practice, and I confirmed that this code is not executed when processing a test file containing let statements.

Fixes what I suspect is a bug in how `Let` terms are translated to CFG nodes,
where the bound name is inserted into the wrong node(s).

Seems like a benign bug though -- I think `Let` terms are translated to `Do`
terms somewhere upstream, because I wasn't able to reproduce the bug in
practice, and I confirmed that this code is not executed when processing a test
file containing `let` statements.
Copy link
Contributor

@simonjwinwood simonjwinwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

@thatplguy thatplguy merged commit ad6e189 into master Sep 20, 2023
@thatplguy thatplguy deleted the cns/bugfix-cfg branch September 20, 2023 01:52
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