diff options
author | Martin Odersky <odersky@gmail.com> | 2015-11-05 15:33:31 +0100 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2015-11-05 15:33:31 +0100 |
commit | 230cdf74e555e1553515dcfd981015689bd4985a (patch) | |
tree | d75841c717197aa6e3a6e6f813372bad2a093008 /test/dotc | |
parent | 0e7c15a9d7bcb3015c24cbd2e16d8d143cfd21de (diff) | |
download | dotty-230cdf74e555e1553515dcfd981015689bd4985a.tar.gz dotty-230cdf74e555e1553515dcfd981015689bd4985a.tar.bz2 dotty-230cdf74e555e1553515dcfd981015689bd4985a.zip |
Turn on -language:Scala2 -migration when compiling stdlib
needed to turn some errors into warnings.
Diffstat (limited to 'test/dotc')
-rw-r--r-- | test/dotc/tests.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index e37a53084..b22752b64 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -178,7 +178,7 @@ class tests extends CompilerTest { .filter(_.nonEmpty) .toList - @Test def compileStdLib = compileList("compileStdLib", stdlibFiles) + @Test def compileStdLib = compileList("compileStdLib", stdlibFiles, "-migration" :: scala2mode) @Test def dotty = compileDir(dottyDir, ".", "-deep" :: "-Ycheck-reentrant" :: allowDeepSubtypes) // note the -deep argument @Test def dotc_ast = compileDir(dotcDir, "ast") |