From 1d8fadd4308c5640b528145f8d89d065659b8d43 Mon Sep 17 00:00:00 2001 From: Som Snytt Date: Wed, 3 Jan 2024 18:45:52 -0800 Subject: [PATCH 1/2] Note changes in unicode escapes and case companion --- _overviews/FAQ/index.md | 8 +++++ .../incompat-other-changes.md | 29 ++++++++++++++++++- .../scala3-migration/incompat-syntactic.md | 11 +++++++ .../scala3-migration/incompatibility-table.md | 1 + 4 files changed, 48 insertions(+), 1 deletion(-) diff --git a/_overviews/FAQ/index.md b/_overviews/FAQ/index.md index 96c5edd43..bfa999acc 100644 --- a/_overviews/FAQ/index.md +++ b/_overviews/FAQ/index.md @@ -139,6 +139,14 @@ REPL, but won't work in typical Scala 3 application code. For an alternative way to detect the Scala 3 version, see [this gist](https://gist.github.com/romanowski/de14691cab7340134e197419bc48919a). +### I want to use Scala 3 but now a bunch of stuff just broke in my project. What's up with that? + +There is a [guide for migration](https://docs.scala-lang.org/scala3/guides/migration/compatibility-intro.html) +that includes a [table of incompatibilities](https://docs.scala-lang.org/scala3/guides/migration/incompatibility-table.html). +Incompatibilities are largely due to dropping old features and introducing new ones, +rather than subtle changes in existing features. +The migration guide provides strategies for either migrating to new syntax or maintaining cross-compatibility. + ### Why is my (abstract or overridden) `val` null?