Skip to content

Upgrade to Scala 3.8.1.#461

Merged
sjrd merged 1 commit intoscalacenter:mainfrom
sjrd:scala-3.8.1
Jan 22, 2026
Merged

Upgrade to Scala 3.8.1.#461
sjrd merged 1 commit intoscalacenter:mainfrom
sjrd:scala-3.8.1

Conversation

@sjrd
Copy link
Contributor

@sjrd sjrd commented Jan 22, 2026

Major changes:

  • Add support for the special erasure of scala.caps.Pure.
  • Add the magic type aliases scala.ImpureXYZFunctionN, because apparently references to them are in TASTy, so they are de facto standard.

More benign changes:

  • Switch -Xfatal-warnings to -Werror, as the former is not supported anymore.
  • Disable -source:future for now, as it wants to enforce a bunch of syntax that we are not using yet.
  • Address warnings from changes to -Yexplicit-nulls.
  • Adjust tests to "cosmetic" changes to the inferred trees and their types.

Co-authored-by @mrdziuban, with changes picked from #459.

Major changes:

* Add support for the special erasure of `scala.caps.Pure`.
* Add the magic type aliases `scala.ImpureXYZFunctionN`,
  because apparently references to them are in TASTy, so
  they are de facto standard.

More benign changes:

* Switch `-Xfatal-warnings` to `-Werror`, as the former is
  not supported anymore.
* Disable `-source:future` for now, as it wants to enforce
  a bunch of syntax that we are not using yet.
* Address warnings from changes to `-Yexplicit-nulls`.
* Adjust tests to "cosmetic" changes to the inferred trees
  and their types.

Co-authored-by: Matt Dziuban <mrdziuban@gmail.com>
@sjrd sjrd merged commit 8dfc6b9 into scalacenter:main Jan 22, 2026
2 checks passed
@sjrd sjrd deleted the scala-3.8.1 branch January 22, 2026 16:42
@sjrd sjrd mentioned this pull request Jan 22, 2026
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.

1 participant