Skip to content

Reference -source versions list should be updated #24095

@WojciechMazur

Description

@WojciechMazur

https://docs.scala-lang.org/scala3/reference/language-versions/source-compatibility.html

The -source setting documentation is severely outdated:

  • future versions should not be recommended as migration 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 -rewrite behaviours 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 -source versions

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions