Skip to content

Conversation

@nox213
Copy link
Contributor

@nox213 nox213 commented Sep 26, 2025

Attach tailrec annotation to getAppliedClass

@som-snytt
Copy link
Contributor

I think the current style is that tailrec annot is noise unless it guards an important degradation.

I also think that if the method is "obviously" tailrec, it doesn't need it. What is the case here?

What I'd really like is instrumentation to tell me (during tests) that a non-tailrec method is consuming stack.

BTW I was a fan of the "tailrec patrol" on Scala 2.

@nox213
Copy link
Contributor Author

nox213 commented Sep 26, 2025

I see, I'll close this PR then. Thanks for the review.

@nox213 nox213 closed this Sep 26, 2025
@nox213 nox213 deleted the polish branch September 26, 2025 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants