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

Tailcalls is more selective when reporting self-recursion #10723

Draft
wants to merge 2 commits into
base: 2.13.x
Choose a base branch
from

Conversation

som-snytt
Copy link
Contributor

Now that Seth has had a taste of Warsaw, he won't want to review old Scala 2 PRs any more.

Fixes scala/bug#4649

@scala-jenkins scala-jenkins added this to the 2.13.15 milestone Mar 22, 2024
@som-snytt som-snytt marked this pull request as draft March 22, 2024 21:30
@som-snytt som-snytt force-pushed the issue/4649-tailrec-byname branch 2 times, most recently from ece451c to 5ecfa88 Compare March 23, 2024 18:58
@som-snytt som-snytt marked this pull request as ready for review March 23, 2024 20:05
@som-snytt
Copy link
Contributor Author

/rebuild

@som-snytt
Copy link
Contributor Author

Instead of a -W, how about @notailrec to indicate "I did not intend this expression as a tail call and I know what I'm doing."

Sentiment on the dotty ticket is against diluting @tailrec.

@som-snytt som-snytt marked this pull request as draft March 28, 2024 00:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants