@@ -20,6 +20,8 @@ class tests extends CompilerTest {
20
20
/* ,"-uniqid", "-explaintypes", "-verbose", "-Ylog:splitter", "-Xprompt", "-YnoDoubleBindings"*/
21
21
)
22
22
23
+ val allowDeepSubtypes = defaultOptions diff List (" -YnoDeepSubtypes" )
24
+
23
25
val twice = List (" #runs" , " 2" , " -YnoDoubleBindings" , " -Ystop-before:terminal" )
24
26
val doErase = List (" -Ystop-before:terminal" )
25
27
@@ -100,30 +102,23 @@ class tests extends CompilerTest {
100
102
@ Test def neg_badAuxConstr = compileFile(negDir, " badAuxConstr" , xerrors = 2 )
101
103
@ Test def neg_typetest = compileFile(negDir, " typetest" , xerrors = 1 )
102
104
103
- @ Test def dotc = compileDir(dotcDir + " tools/dotc" , twice)
105
+ @ Test def dotc = compileDir(dotcDir + " tools/dotc" , twice)(allowDeepSubtypes)
104
106
@ Test def dotc_ast = compileDir(dotcDir + " tools/dotc/ast" , twice)
105
107
@ Test def dotc_config = compileDir(dotcDir + " tools/dotc/config" , twice)
106
- @ Test def dotc_core = compileDir(dotcDir + " tools/dotc/core" , twice)
107
- @ Test def dotc_core_pickling = compileDir(dotcDir + " tools/dotc/core/pickling" , twice)(
108
- defaultOptions diff List (" -YnoDeepSubtypes" ))
109
- // @odesky, fails on assertion in TypeComparer:425 (fixed)
108
+ @ Test def dotc_core = compileDir(dotcDir + " tools/dotc/core" , twice)(allowDeepSubtypes)
109
+ @ Test def dotc_core_pickling = compileDir(dotcDir + " tools/dotc/core/pickling" , twice)(allowDeepSubtypes)
110
110
111
111
@ Test def dotc_transform = compileDir(dotcDir + " tools/dotc/transform" , twice)
112
- // @odersky, fails with datarace (fixed)
113
- // now fails with unapplied setter generated by pattern matcher:
114
- // at PatternMatcher.scala:363: missing arguments for setter altss_= in class AlternativesTreeMaker
115
112
116
113
@ Test def dotc_parsing = compileDir(dotcDir + " tools/dotc/parsing" , twice)
117
114
@ Test def dotc_printing = compileDir(dotcDir + " tools/dotc/printing" , twice)
118
- // @odersky, elimByName creates symbol with incorrect owner (fixed)
119
115
120
116
@ Test def dotc_reporting = compileDir(dotcDir + " tools/dotc/reporting" , twice)
121
117
@ Test def dotc_typer = compileDir(dotcDir + " tools/dotc/typer" , twice)
122
- // @odersky, elimByName creates symbol with incorrect owner (fixed)
123
118
124
119
@ Test def dotc_util = compileDir(dotcDir + " tools/dotc/util" , twice)
125
120
@ Test def tools_io = compileDir(dotcDir + " tools/io" , twice)
126
- @ Test def tools = compileDir(dotcDir + " tools" , twice)
121
+ @ Test def tools = compileDir(dotcDir + " tools" , twice)(allowDeepSubtypes)
127
122
128
123
@ Test def testNonCyclic = compileArgs(Array (
129
124
dotcDir + " tools/dotc/CompilationUnit.scala" ,
0 commit comments