Skip to content

Rename language.Scala2 #6291

@odersky

Description

@odersky

The Scala2 language option is misleading. On several occasions I met people who had the impression that it would be a mode where Scala 2 is fully supported but none of the Scala 3 features would be accepted. This is not what it is, of course. So I propose to rename to
s2compat. I.e.

 -language:s2compat

as a command line option and

import language.s2compat

as an import.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions