From 651b8ddbf518327c059ee053acf586a35903c87f Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Thu, 9 Apr 2015 13:30:34 +0200 Subject: Make -Yno-double-bindings the default for all tests. --- test/dotc/tests.scala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'test') diff --git a/test/dotc/tests.scala b/test/dotc/tests.scala index bd092a482..095c5053b 100644 --- a/test/dotc/tests.scala +++ b/test/dotc/tests.scala @@ -14,21 +14,21 @@ class tests extends CompilerTest { "-pagewidth", "160") implicit val defaultOptions = noCheckOptions ++ List( - "-Yno-deep-subtypes", + "-Yno-deep-subtypes", "-Yno-double-bindings", "-Ycheck:tailrec,resolveSuper,mixin,restoreScopes", "-d", "./out/" ) val doEmitBytecode = List("-Ystop-before:terminal") val failedbyName = List("-Ystop-before:collectEntryPoints") // #288 - val failedUnderscore = List("-Ystop-before:collectEntryPoints") // #289 val testPickling = List("-Xprint-types", "-Ytest-pickler", "-Ystop-after:pickler") val failedOther = List("-Ystop-before:collectEntryPoints") // some non-obvious reason. need to look deeper - val twice = List("#runs", "2", "-Yno-double-bindings") + val twice = List("#runs", "2") val staleSymbolError: List[String] = List() val allowDeepSubtypes = defaultOptions diff List("-Yno-deep-subtypes") + val allowDoubleBindings = defaultOptions diff List("-Yno-double-bindings") val posDir = "./tests/pos/" val posSpecialDir = "./tests/pos-special/" -- cgit v1.2.3