Scala-dev: Drop procedure syntax

Created on 21 Nov 2017  路  6Comments  路  Source: scala/scala-dev

Most helpful comment

Is this really something that has to wait for 2.14? Is there a promise that syntactically valid 2.12 code is also syntactically valid 2.13 code?

All 6 comments

Here's a one-liner to replace ProcedureSyntax with : Unit =

coursier launch ch.epfl.scala:scalafix-cli_2.12.3:0.5.3 -- -r ProcedureSyntax mydirectory

Is this really something that has to wait for 2.14? Is there a promise that syntactically valid 2.12 code is also syntactically valid 2.13 code?

2.13 is a library release. No changes to the language except under -Xsource:2.14

this no longer makes sense to do in Scala 2, after https://www.scala-lang.org/2019/12/18/road-to-scala-3.html

Should -Xsource:2.14 be renamed to -Xsource:3.0 since 2.14 is now an alternate history?

-Xsource:3 already exists and includes everything that is -Xsource:2.14.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

SethTisue picture SethTisue  路  4Comments

SethTisue picture SethTisue  路  5Comments

adriaanm picture adriaanm  路  6Comments

adriaanm picture adriaanm  路  8Comments

adriaanm picture adriaanm  路  3Comments