Allow either -Xsource:3 (for preparing to switch to 3) or -Xsource:3-cross (for crossbuilding on 2 and 3); some existing users of -Xsource:3 should switch to -Xsource:3-cross to avoid unwanted behavior changes (#10573 by @som-snytt)
For migration to 3, accommodate case companion as function (#10648 by @som-snytt)
Scala 3 migration warning for implicits found in package prefix (#10621 by @lrytz)
Other improvements
-Yrelease supplements -release, allows access to additional JVM packages (#10543 by @som-snytt)
Add -Xlint:named-booleans to lint unnamed boolean literal args [ci: last-only] (#10612 by @som-snytt)
Respect java.lang.Deprecated annotation even in Scala sources (#10517 by @kapunga)
Optimize tail recursion on effectively final methods even when final keyword is absent (#10629 by @som-snytt)
Add -Xlint:pattern-shadow to lint pattern varids which are backquotable (#8806 by @som-snytt)
In mixed compilation, allow Java sources to reference MODULE$ (#10644 by @som-snytt)
Scaladoc: re-align -doc-source-url behavior with 2.12 (#10581 by @lrytz)
Known issues
When upgrading to 2.13.13, existing users of -Xsource:3 should explicitly consider switching to -Xsource:3-cross. Some behaviors of -Xsource:3 have changed, e.g. in result type inference for inherited methods; see #10573 for details
Users of sbt must upgrade to sbt 1.9.9 to use the console task to access the 2.13.13 REPL (sbt/sbt#7502); error message is NoSuchMethodError: org.jline.utils.AttributedString.fromAnsi
Regression: Scaladoc generation may fail if you are using the TASTy reader to access Scala 3 dependencies (scala/bug#12955); error message is "Unsupported Scala 3 generic tuple type"; we'll fix it in 2.13.14
Regression: on JDK 11 (but not 8 or 17 or 21), the REPL prints a harmless "illegal reflective access" warning at startup (scala/bug#12957); we'll fix it in 2.13.14
You can trigger a rebase of this PR by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.
Bumps org.scala-lang:scala-library from 2.12.18 to 2.13.13.
Release notes
Sourced from org.scala-lang:scala-library's releases.
... (truncated)
Commits
fcc67cd
Merge pull request #10695 from SethTisue/scala-dev-755842d69d
fixscala
task in our sbt build so REPL has JLine features againec6078f
Merge pull request #10694 from scala/tasty/test-classpath-standalone-obj5936c32
Use stripSuffix over dropRight for clarityd9d1307
Align tasty file lookup with dotty, add test case232521f
Merge pull request #10689 from scalacenter/tasty/switch-3.4.0-stable515883b
Merge pull request #10688 from scalacenter/tasty/temp-patch-windowsda72476
upgrade to 3.4.0 stablebaadd95
Disable tasty pipelining tests on windows17c0c74
Merge pull request #10686 from som-snytt/tweak/12944-hashset-issubsetYou can trigger a rebase of this PR by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show