Skip to content

Fix #6291: Rename Scala2 language setting to Scala2Compat #7540

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 15, 2019

Conversation

nicolasstucki
Copy link
Contributor

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. Now we use

-language:Scala2Compat

as a command line option and

import language.Scala2Compat

as an import.

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. Now we use

 ```
 -language:Scala2Compat
 ```
as a command line option and

```scala
import language.Scala2Compat
```
as an import.
@nicolasstucki nicolasstucki changed the title Rename Scala2 language setting to Scala2Compat Fix #6291: Rename Scala2 language setting to Scala2Compat Nov 12, 2019
@nicolasstucki nicolasstucki marked this pull request as ready for review November 12, 2019 18:19
@odersky odersky removed their assignment Nov 15, 2019
@nicolasstucki nicolasstucki merged commit ca6b1c6 into scala:master Nov 15, 2019
@nicolasstucki nicolasstucki deleted the fix-#6291 branch November 15, 2019 18:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants