Skip to content

Conversation

LucySMartin
Copy link

Fixes #20145.

Apologies about the previous PR - I thought I remembered this fix from when I coded it as a part of a prior pr - but I had in fact forgotten.

This one at least passes tests locally.

…l definition, previously this would neither optimise nor fail.
@sjrd sjrd merged commit 56e6f9f into scala:main Jun 20, 2024
@LucySMartin LucySMartin deleted the tail-rec-value-def branch June 20, 2024 13:07
@Kordyjan Kordyjan added this to the 3.5.1 milestone Jul 3, 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.

Tail recursion from inside value defs

3 participants