Enable -Yfuture-lazy-vals for Scala 3.3.x - #653
Merged
Conversation
Philippus
force-pushed
the
enable-future-lazy-vals
branch
from
September 3, 2026 13:49
3d937e8 to
333b69b
Compare
Philippus
commented
Sep 3, 2026
| versionPolicyIntention := (CrossVersion.partialVersion(scalaVersion.value) match { | ||
| case Some((3, _)) => Compatibility.None | ||
| case _ => Compatibility.BinaryAndSourceCompatible | ||
| }), |
Member
Author
There was a problem hiding this comment.
Needed because of:
[error] You have to relax our compatibility intention by changing the value of versionPolicyIntention, or to fix the incompatibilities.
[error] We found the following incompatibilities:
[error] * static method <clinit>()Unit in object scala.util.parsing.input.OffsetPosition does not have a correspondent in current version
[error] filter with: ProblemFilters.exclude[DirectMissingMethodProblem]("scala.util.parsing.input.OffsetPosition.<clinit>")
Member
There was a problem hiding this comment.
This is due to scala-garden/mima#794 (i just fixed it in MiMa, but it's not yet released). I added a MiMa filter instead.
lrytz
force-pushed
the
enable-future-lazy-vals
branch
from
September 4, 2026 08:41
333b69b to
96a67ce
Compare
Member
|
aligned more with scala/scala-xml#833 |
Member
|
I removed the |
lrytz
approved these changes
Sep 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Applying this PR will enable -Y-future-lazy-vals for Scala 3.3.x. This does mean that we can no longer target java 8 for Scala 3. I've chosen to target java 17. Fixes #648.