@@ -48,15 +48,14 @@ class CompilationTests {
48
48
compileFilesInDir(" tests/pos" , defaultOptions.and(" -Ysafe-init" , " -Ylegacy-lazy-vals" , " -Ycheck-constraint-deps" ), FileFilter .include(TestSources .posLazyValsAllowlist)),
49
49
compileFilesInDir(" tests/pos-deep-subtype" , allowDeepSubtypes),
50
50
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" )),
51
52
compileDir(" tests/pos-special/java-param-names" , defaultOptions.withJavacOnlyOptions(" -parameters" )),
52
53
compileFile(
53
54
// succeeds despite -Xfatal-warnings because of -nowarn
54
55
" tests/neg-custom-args/fatal-warnings/xfatalWarnings.scala" ,
55
56
defaultOptions.and(" -nowarn" , " -Xfatal-warnings" )
56
57
),
57
58
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" )),
60
59
compileFile(" tests/pos-special/i7575.scala" , defaultOptions.andLanguageFeature(" dynamics" )),
61
60
compileFile(" tests/pos-special/kind-projector.scala" , defaultOptions.and(" -Ykind-projector" )),
62
61
compileFile(" tests/pos-special/kind-projector-underscores.scala" , defaultOptions.and(" -Ykind-projector:underscores" )),
@@ -65,7 +64,6 @@ class CompilationTests {
65
64
compileFile(" tests/pos-custom-args/i9267.scala" , defaultOptions.and(" -Ystop-after:erasure" )),
66
65
compileFile(" tests/pos-special/extend-java-enum.scala" , defaultOptions.and(" -source" , " 3.0-migration" )),
67
66
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" )),
69
67
compileFile(" tests/pos-custom-args/i13044.scala" , defaultOptions.and(" -Xmax-inlines:33" )),
70
68
compileFile(" tests/pos-custom-args/jdk-8-app.scala" , defaultOptions.and(" -release:8" )),
71
69
).checkCompile()
0 commit comments