Skip to content

Backport "Improve use of boolean defaults" to 3.3 LTS #519

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

Closed
wants to merge 2 commits into from

Conversation

tgodzik
Copy link

@tgodzik tgodzik commented Jul 26, 2025

Backports scala#23564 to the 3.3.7.

PR submitted by the release tooling.
[skip ci]

som-snytt and others added 2 commits July 26, 2025 18:00
A couple of cases where recursing with default booleans was especially
confusing.

Spellcheck would like to change booleans to beanpoles.

I know the project hates so-called style PRs.

But if I see something morally wrong, I cannot but act upon it.

I must confirm that inlined helper such as `jsig1` allows `tailrec`.
Maybe it's enough to annotate jsig? Edit: I see goto 0 only. With
tailrec, it complains about the RHS of the helper `inline def jsig1`,
which is spurious.
A couple of cases where recursing with default booleans was especially
confusing.

Spellcheck would like to change booleans to beanpoles.

I know the project hates so-called style PRs.

But if I see something morally wrong, I cannot but act upon it.

I must confirm that inlined helper such as `jsig1` allows `tailrec`.
Maybe it's enough to annotate jsig? Edit: I see goto 0 only. With
tailrec, it complains about the RHS of the helper `inline def jsig1`,
which is spurious.
[Cherry-picked 3770ee8][modified]
@tgodzik tgodzik closed this Jul 28, 2025
@tgodzik tgodzik deleted the backport-lts-3.3-23564 branch July 28, 2025 14:38
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.

2 participants