Skip to content

Update scalacOptions for Scala 3.8#892

Merged
samspills merged 3 commits into
typelevel:mainfrom
noelwelsh:scala-3-8
May 20, 2026
Merged

Update scalacOptions for Scala 3.8#892
samspills merged 3 commits into
typelevel:mainfrom
noelwelsh:scala-3-8

Conversation

@noelwelsh
Copy link
Copy Markdown
Contributor

This is exactly PR #860 by @xuwei-k, with the change requested by @armanbilge. That PR has been open for months pending a small change, and it's blocking my projects. By the power of open source I decided to submit the change myself. 😄

This is done silently, as chosing Scala 3.8+ is opting into JDK 17+
Copy link
Copy Markdown
Member

@armanbilge armanbilge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting nitpicks sorry!

Comment on lines +298 to +301
case V(V(3, minor, _, _)) if minor >= 2 =>
javaOutputVersionOption
if (minor <= 7) {
javaOutputVersionOption
} else {
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry to nitpick, maybe instead of the nested if-else it would be nicer to extract this as a separate case ?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍 As you wish!

@samspills samspills merged commit 4b29c3f into typelevel:main May 20, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants