diff options
author | Martin Odersky <odersky@gmail.com> | 2015-09-12 12:35:39 +0200 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-09-12 12:35:39 +0200 |
commit | 6fc42dd9ea03e30f475e4eaec3e1bf95c35de0d0 (patch) | |
tree | 74345d626ce38160db14bd7a4d1fd9974cfd95df /src/dotty/tools/dotc/core/StdNames.scala | |
parent | 76d083889d52a5abbf883e5577b1fd21c9a1d903 (diff) | |
download | dotty-6fc42dd9ea03e30f475e4eaec3e1bf95c35de0d0.tar.gz dotty-6fc42dd9ea03e30f475e4eaec3e1bf95c35de0d0.tar.bz2 dotty-6fc42dd9ea03e30f475e4eaec3e1bf95c35de0d0.zip |
Add -language:Scala2 option
Avoids having to fix all occurrences of procedure syntax. Will be extended to other
backwards compatible features.
Diffstat (limited to 'src/dotty/tools/dotc/core/StdNames.scala')
-rw-r--r-- | src/dotty/tools/dotc/core/StdNames.scala | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/dotty/tools/dotc/core/StdNames.scala b/src/dotty/tools/dotc/core/StdNames.scala index 577e1ebf3..52318a386 100644 --- a/src/dotty/tools/dotc/core/StdNames.scala +++ b/src/dotty/tools/dotc/core/StdNames.scala @@ -332,6 +332,7 @@ object StdNames { val Ref: N = "Ref" val RootPackage: N = "RootPackage" val RootClass: N = "RootClass" + val Scala2: N = "Scala2" val Select: N = "Select" val StringContext: N = "StringContext" val This: N = "This" |