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

jvm/C: disable tail recursion optimization within precondition #2693

Merged
merged 2 commits into from
Mar 8, 2024

Conversation

fridis
Copy link
Member

@fridis fridis commented Mar 8, 2024

Before this, it could happen that a call to a feature f that is performed within a precondition of f would be treated as a tail call, which is clearly wrong.

Before this, it could happen that a call to a feature `f` that is performed
within a precondition of `f` would be treated as a tail call, which is clearly
wrong.
This got out-of-sync with the condition used for code generation.
@michaellilltokiwa michaellilltokiwa merged commit b4c00e7 into main Mar 8, 2024
5 checks passed
@michaellilltokiwa michaellilltokiwa deleted the tailrec_not_for_precondition branch March 8, 2024 15:40
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.

None yet

2 participants