Skip to content

Commit 230cdf7

Browse files
committed
Turn on -language:Scala2 -migration when compiling stdlib
needed to turn some errors into warnings.
1 parent 0e7c15a commit 230cdf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/dotc/tests.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ class tests extends CompilerTest {
178178
.filter(_.nonEmpty)
179179
.toList
180180

181-
@Test def compileStdLib = compileList("compileStdLib", stdlibFiles)
181+
@Test def compileStdLib = compileList("compileStdLib", stdlibFiles, "-migration" :: scala2mode)
182182
@Test def dotty = compileDir(dottyDir, ".", "-deep" :: "-Ycheck-reentrant" :: allowDeepSubtypes) // note the -deep argument
183183

184184
@Test def dotc_ast = compileDir(dotcDir, "ast")

0 commit comments

Comments
 (0)