-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
https://docs.scala-lang.org/scala3/reference/language-versions/source-compatibility.html
The -source setting documentation is severely outdated:
futureversions should not be recommended asmigration from LTS. This mode should be rather discouraged and well described as a very long term goal on how Scala syntax might look like if we'd break Scala 2 compat- The
-rewritebehaviours introduced after 3.3 should be collected and described in here - Potentially we should create a table describing what syntax was added / deprecated / removed or provides automatic rewrites under given
-sourceversions
It should be finalised before 2nd LTS as it would be really needed for migrations.
Motivation: large number of -source:future or -source:future-migration settings used in OpenCB projects that are in fact not future-ready but rather mostly-3.5-ready or featured in the blogposts and recommended to other users.