@@ -39,7 +39,6 @@ class CompilationTests {
3939 compileFilesInDir(" tests/pos-special/isInstanceOf" , allowDeepSubtypes.and(" -Xfatal-warnings" )),
4040 compileFilesInDir(" tests/new" , defaultOptions),
4141 compileFilesInDir(" tests/pos-scala2" , scala2CompatMode),
42- compileFilesInDir(" tests/pos-custom-args/erased" , defaultOptions.and(" -language:experimental.erasedDefinitions" )),
4342 compileFilesInDir(" tests/pos" , defaultOptions.and(" -Ysafe-init" )),
4443 compileFilesInDir(" tests/pos-deep-subtype" , allowDeepSubtypes),
4544 compileDir(" tests/pos-special/java-param-names" , defaultOptions.withJavacOnlyOptions(" -parameters" )),
@@ -125,7 +124,6 @@ class CompilationTests {
125124 compileFilesInDir(" tests/neg-no-kind-polymorphism" , defaultOptions and " -Yno-kind-polymorphism" ),
126125 compileFilesInDir(" tests/neg-custom-args/deprecation" , defaultOptions.and(" -Xfatal-warnings" , " -deprecation" )),
127126 compileFilesInDir(" tests/neg-custom-args/fatal-warnings" , defaultOptions.and(" -Xfatal-warnings" )),
128- compileFilesInDir(" tests/neg-custom-args/erased" , defaultOptions.and(" -language:experimental.erasedDefinitions" )),
129127 compileFilesInDir(" tests/neg-custom-args/allow-double-bindings" , allowDoubleBindings),
130128 compileFilesInDir(" tests/neg-custom-args/allow-deep-subtypes" , allowDeepSubtypes),
131129 compileFilesInDir(" tests/neg-custom-args/explicit-nulls" , defaultOptions.and(" -Yexplicit-nulls" )),
@@ -164,9 +162,7 @@ class CompilationTests {
164162 compileDir(" tests/neg-custom-args/adhoc-extension" , defaultOptions.and(" -source" , " future" , " -feature" , " -Xfatal-warnings" )),
165163 compileFile(" tests/neg/i7575.scala" , defaultOptions.withoutLanguageFeatures.and(" -language:_" )),
166164 compileFile(" tests/neg-custom-args/kind-projector.scala" , defaultOptions.and(" -Ykind-projector" )),
167- compileFile(" tests/neg-custom-args/typeclass-derivation2.scala" , defaultOptions.and(" -language:experimental.erasedDefinitions" )),
168165 compileFile(" tests/neg-custom-args/i5498-postfixOps.scala" , defaultOptions withoutLanguageFeature " postfixOps" ),
169- compileFile(" tests/neg-custom-args/deptypes.scala" , defaultOptions.and(" -language:experimental.dependent" )),
170166 compileFile(" tests/neg-custom-args/matchable.scala" , defaultOptions.and(" -Xfatal-warnings" , " -source" , " future" )),
171167 compileFile(" tests/neg-custom-args/i7314.scala" , defaultOptions.and(" -Xfatal-warnings" , " -source" , " future" )),
172168 compileFile(" tests/neg-custom-args/feature-shadowing.scala" , defaultOptions.and(" -Xfatal-warnings" , " -feature" )),
@@ -188,7 +184,6 @@ class CompilationTests {
188184 compileFile(" tests/run-custom-args/fors.scala" , defaultOptions.and(" -source" , " future" )),
189185 compileFile(" tests/run-custom-args/no-useless-forwarders.scala" , defaultOptions and " -Xmixin-force-forwarders:false" ),
190186 compileFile(" tests/run-custom-args/defaults-serizaliable-no-forwarders.scala" , defaultOptions and " -Xmixin-force-forwarders:false" ),
191- compileFilesInDir(" tests/run-custom-args/erased" , defaultOptions.and(" -language:experimental.erasedDefinitions" ).without(" -Yno-experimental" )),
192187 compileFilesInDir(" tests/run-deep-subtype" , allowDeepSubtypes),
193188 compileFilesInDir(" tests/run" , defaultOptions.and(" -Ysafe-init" ))
194189 ).checkRuns()
0 commit comments