-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Implement following of local label DefDefs in tailrec #194
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
Labels
Comments
DarkDimius
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 22, 2014
Unless a DefDef is a result of desugaring an exception handler it shouldn't be optimized by tailrec. There's a potential improvement here: to detect that a DefDef is a label def which itself is called only in tail position. This is a requirement to implement scala#194
DarkDimius
added a commit
to dotty-staging/dotty
that referenced
this issue
Oct 22, 2014
Unless a DefDef is a result of desugaring an exception handler it shouldn't be optimized by tailrec. There's a potential improvement here: to detect that a DefDef is a label def which itself is called only in tail position. This is a requirement to implement scala#194
I'm not going to work on this any time soon and this is low priority. |
WojciechMazur
pushed a commit
to WojciechMazur/dotty
that referenced
this issue
May 8, 2025
Backport "Fix mapping of annotations" to 3.3 LTS
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Would allow to group
tailrec
andpatmat
into the same phase.The text was updated successfully, but these errors were encountered: