Skip to content

Enable future lazy vals for Scala 3.3 JVM builds - #410

Merged
yoohaemin merged 2 commits into
masterfrom
build/scala33-future-lazy-vals
Nov 2, 2026
Merged

yoohaemin merged 2 commits into
masterfrom
build/scala33-future-lazy-vals

Conversation

@yoohaemin

@yoohaemin yoohaemin commented Nov 2, 2026 •

Copy link
Copy Markdown
Owner

Enable -Yfuture-lazy-vals and -release:9 only for Scala 3.3 JVM production and test compilation. Scala 2.13, Scala 3.9, and Scala.js settings remain unchanged. Scala 3.3 JVM artifacts now require JDK 9+.

Validation: full +test matrix and githubWorkflowCheck passed. Effective compiler options confirmed the intended scope; javap confirmed VarHandle-based lazy vals in a Scala 3.3 Fetch interpreter. Build formatting and git diff --check passed. Repository-wide fmtCheck fails on existing Fetch condition formatting, which this PR preserves.

Copilot AI balanced review requested due to automatic review settings November 2, 2026 15:10

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues block approval of the Scala 3.3 JVM lazy-val configuration change.

No open issues 🎉

What changed in this PR

Enables future lazy vals for Scala 3.3 JVM builds while leaving Scala 2.13, Scala 3.9, and Scala.js settings unchanged.

Changes:

  • Adds -Yfuture-lazy-vals and -release:9 for Scala 3.3 JVM production and test compilation.
  • Documents the JDK 9+ requirement for Scala 3.3 JVM artifacts.
File Description
README.md Documents the runtime requirement and future lazy-val implementation.
build.sbt Adds compiler options conditional on Scala 3.3 and the JVM axis.

Review effort: Balanced

@yoohaemin
yoohaemin merged commit ebfd553 into master Nov 2, 2026
9 checks passed
@yoohaemin
yoohaemin deleted the build/scala33-future-lazy-vals branch November 2, 2026 15:16
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