Skip to content

Commit 651b8dd

Browse files
committed
Make -Yno-double-bindings the default for all tests.
1 parent 673842f commit 651b8dd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test/dotc/tests.scala

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,21 +14,21 @@ class tests extends CompilerTest {
1414
"-pagewidth", "160")
1515

1616
implicit val defaultOptions = noCheckOptions ++ List(
17-
"-Yno-deep-subtypes",
17+
"-Yno-deep-subtypes", "-Yno-double-bindings",
1818
"-Ycheck:tailrec,resolveSuper,mixin,restoreScopes",
1919
"-d", "./out/"
2020
)
2121

2222
val doEmitBytecode = List("-Ystop-before:terminal")
2323
val failedbyName = List("-Ystop-before:collectEntryPoints") // #288
24-
val failedUnderscore = List("-Ystop-before:collectEntryPoints") // #289
2524
val testPickling = List("-Xprint-types", "-Ytest-pickler", "-Ystop-after:pickler")
2625

2726
val failedOther = List("-Ystop-before:collectEntryPoints") // some non-obvious reason. need to look deeper
28-
val twice = List("#runs", "2", "-Yno-double-bindings")
27+
val twice = List("#runs", "2")
2928
val staleSymbolError: List[String] = List()
3029

3130
val allowDeepSubtypes = defaultOptions diff List("-Yno-deep-subtypes")
31+
val allowDoubleBindings = defaultOptions diff List("-Yno-double-bindings")
3232

3333
val posDir = "./tests/pos/"
3434
val posSpecialDir = "./tests/pos-special/"

0 commit comments

Comments
 (0)