@@ -14,21 +14,21 @@ class tests extends CompilerTest {
14
14
" -pagewidth" , " 160" )
15
15
16
16
implicit val defaultOptions = noCheckOptions ++ List (
17
- " -Yno-deep-subtypes" ,
17
+ " -Yno-deep-subtypes" , " -Yno-double-bindings " ,
18
18
" -Ycheck:tailrec,resolveSuper,mixin,restoreScopes" ,
19
19
" -d" , " ./out/"
20
20
)
21
21
22
22
val doEmitBytecode = List (" -Ystop-before:terminal" )
23
23
val failedbyName = List (" -Ystop-before:collectEntryPoints" ) // #288
24
- val failedUnderscore = List (" -Ystop-before:collectEntryPoints" ) // #289
25
24
val testPickling = List (" -Xprint-types" , " -Ytest-pickler" , " -Ystop-after:pickler" )
26
25
27
26
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" )
29
28
val staleSymbolError : List [String ] = List ()
30
29
31
30
val allowDeepSubtypes = defaultOptions diff List (" -Yno-deep-subtypes" )
31
+ val allowDoubleBindings = defaultOptions diff List (" -Yno-double-bindings" )
32
32
33
33
val posDir = " ./tests/pos/"
34
34
val posSpecialDir = " ./tests/pos-special/"
@@ -88,7 +88,7 @@ class tests extends CompilerTest {
88
88
@ Test def neg_typedapply () = compileFile(negDir, " typedapply" , xerrors = 4 )
89
89
@ Test def neg_typedidents () = compileFile(negDir, " typedIdents" , xerrors = 2 )
90
90
@ Test def neg_assignments () = compileFile(negDir, " assignments" , xerrors = 3 )
91
- @ Test def neg_typers () = compileFile(negDir, " typers" , xerrors = 12 )
91
+ @ Test def neg_typers () = compileFile(negDir, " typers" , xerrors = 12 )(allowDoubleBindings)
92
92
@ Test def neg_privates () = compileFile(negDir, " privates" , xerrors = 2 )
93
93
@ Test def neg_rootImports = compileFile(negDir, " rootImplicits" , xerrors = 2 )
94
94
@ Test def neg_templateParents () = compileFile(negDir, " templateParents" , xerrors = 3 )
0 commit comments