Skip to content

Fix -stop-after lambda #3128

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

Merged
merged 2 commits into from
Oct 9, 2024
Merged

Fix -stop-after lambda #3128

merged 2 commits into from
Oct 9, 2024

Conversation

ccasin
Copy link
Contributor

@ccasin ccasin commented Oct 9, 2024

-stop-after lambda is broken in ocamlopt right now - we don't actually stop after lambda. This fixes it.

This is visible in several ways, but the one that is annoying me at the moment is that we eventually end up reaching this line and terminate with exit code 0 even in some cases where we should have a non-zero exit code. I've added a test that demonstrates this in the first commit, and then fixed it in the second.

@ccasin ccasin merged commit 54dec2c into main Oct 9, 2024
16 checks passed
@ccasin ccasin deleted the fix-stop-after-lambda branch October 9, 2024 22:01
ccasin added a commit that referenced this pull request Oct 9, 2024
lukemaurer pushed a commit to lukemaurer/flambda-backend that referenced this pull request Oct 23, 2024
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