Skip to content

Commit 3d9080c

Browse files
authored
Merge pull request #2925 from dotty-staging/restore-Ycheck
Ycheck all groups after FirstTransform, except Erasure
2 parents 74e084f + 0b6733b commit 3d9080c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compiler/test/dotc/tests.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ class tests extends CompilerTest {
6868
}
6969

7070
implicit val defaultOptions: List[String] = noCheckOptions ++ {
71-
if (dotty.Properties.isRunByDrone) List("-Ycheck:tailrec,resolveSuper,mixin,restoreScopes,labelDef,simplify") // should be Ycheck:all, but #725
71+
if (dotty.Properties.isRunByDrone) List("-Ycheck:tailrec,resolveSuper,mixin,getClass,restoreScopes,labelDef") // should be Ycheck:all, but #725
7272
else List("-Ycheck:tailrec,resolveSuper,mixin,restoreScopes,labelDef,simplify")
7373
} ++ checkOptions ++ classPath
7474

compiler/test/dotty/tools/vulpix/TestConfiguration.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ object TestConfiguration {
5050
Array("-classpath", paths)
5151
}
5252

53-
private val yCheckOptions = Array("-Ycheck:tailrec,resolveSuper,mixin,arrayConstructors,labelDef")
53+
private val yCheckOptions = Array("-Ycheck:tailrec,resolveSuper,mixin,getClass,restoreScopes,labelDef")
5454

5555
val defaultUnoptimised = noCheckOptions ++ checkOptions ++ yCheckOptions ++ classPath
5656
val defaultOptimised = defaultUnoptimised :+ "-optimise"

0 commit comments

Comments
 (0)