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

Improve @ets tailRec tail position checking heuristic #35

Open
0x706b opened this issue Feb 3, 2022 · 0 comments
Open

Improve @ets tailRec tail position checking heuristic #35

0x706b opened this issue Feb 3, 2022 · 0 comments

Comments

@0x706b
Copy link
Contributor

0x706b commented Feb 3, 2022

Right now, the heuristic that tailRec uses to detect whether a recursive call is in the tail position is overly simple. Neither the checker, nor the transformer, allow for ternary expressions, for example.

@0x706b 0x706b created this issue from a note in TypeScript Extensions (To do) Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant