@@ -48,15 +48,14 @@ class CompilationTests {
4848 compileFilesInDir(" tests/pos" , defaultOptions.and(" -Ysafe-init" , " -Ylegacy-lazy-vals" , " -Ycheck-constraint-deps" ), FileFilter .include(TestSources .posLazyValsAllowlist)),
4949 compileFilesInDir(" tests/pos-deep-subtype" , allowDeepSubtypes),
5050 compileFilesInDir(" tests/pos-custom-args/no-experimental" , defaultOptions.and(" -Yno-experimental" )),
51+ compileFilesInDir(" tests/pos-custom-args/strict" , defaultOptions.and(" -source" , " future" , " -deprecation" , " -Xfatal-warnings" )),
5152 compileDir(" tests/pos-special/java-param-names" , defaultOptions.withJavacOnlyOptions(" -parameters" )),
5253 compileFile(
5354 // succeeds despite -Xfatal-warnings because of -nowarn
5455 " tests/neg-custom-args/fatal-warnings/xfatalWarnings.scala" ,
5556 defaultOptions.and(" -nowarn" , " -Xfatal-warnings" )
5657 ),
5758 compileFile(" tests/pos-special/typeclass-scaling.scala" , defaultOptions.and(" -Xmax-inlines" , " 40" )),
58- compileFile(" tests/pos-special/i7296.scala" , defaultOptions.and(" -source" , " future" , " -deprecation" , " -Xfatal-warnings" )),
59- compileDir(" tests/pos-special/adhoc-extension" , defaultOptions.and(" -source" , " future" , " -feature" , " -Xfatal-warnings" )),
6059 compileFile(" tests/pos-special/i7575.scala" , defaultOptions.andLanguageFeature(" dynamics" )),
6160 compileFile(" tests/pos-special/kind-projector.scala" , defaultOptions.and(" -Ykind-projector" )),
6261 compileFile(" tests/pos-special/kind-projector-underscores.scala" , defaultOptions.and(" -Ykind-projector:underscores" )),
@@ -65,7 +64,6 @@ class CompilationTests {
6564 compileFile(" tests/pos-custom-args/i9267.scala" , defaultOptions.and(" -Ystop-after:erasure" )),
6665 compileFile(" tests/pos-special/extend-java-enum.scala" , defaultOptions.and(" -source" , " 3.0-migration" )),
6766 compileFile(" tests/pos-custom-args/help.scala" , defaultOptions.and(" -help" , " -V" , " -W" , " -X" , " -Y" )),
68- compileFile(" tests/pos-custom-args/i10383.scala" , defaultOptions.and(" -source" , " future" , " -deprecation" , " -Xfatal-warnings" )),
6967 compileFile(" tests/pos-custom-args/i13044.scala" , defaultOptions.and(" -Xmax-inlines:33" )),
7068 compileFile(" tests/pos-custom-args/jdk-8-app.scala" , defaultOptions.and(" -release:8" )),
7169 ).checkCompile()
0 commit comments