aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2015-11-05 15:33:31 +0100
committerMartin Odersky <odersky@gmail.com>2015-11-05 15:33:31 +0100
commit230cdf74e555e1553515dcfd981015689bd4985a (patch)
treed75841c717197aa6e3a6e6f813372bad2a093008 /test
parent0e7c15a9d7bcb3015c24cbd2e16d8d143cfd21de (diff)
downloaddotty-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')
-rw-r--r--test/dotc/tests.scala2
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")