@@ -60,7 +60,8 @@ class CompilationTests extends ParallelTesting {
60
60
compileFile(" tests/pos-special/indent-colons.scala" , defaultOptions.and(" -Yindent-colons" )),
61
61
compileFile(" tests/pos-special/i7296.scala" , defaultOptions.and(" -strict" , " -deprecation" , " -Xfatal-warnings" )),
62
62
compileFile(" tests/pos-special/nullable.scala" , defaultOptions.and(" -Yexplicit-nulls" )),
63
- compileDir(" tests/pos-special/adhoc-extension" , defaultOptions.and(" -strict" , " -feature" , " -Xfatal-warnings" ))
63
+ compileDir(" tests/pos-special/adhoc-extension" , defaultOptions.and(" -strict" , " -feature" , " -Xfatal-warnings" )),
64
+ compileFile(" tests/pos-special/i7575.scala" , defaultOptions.and(" -language:dynamics" )),
64
65
).checkCompile()
65
66
}
66
67
@@ -145,7 +146,8 @@ class CompilationTests extends ParallelTesting {
145
146
compileFile(" tests/neg-custom-args/wildcards.scala" , defaultOptions.and(" -strict" , " -deprecation" , " -Xfatal-warnings" )),
146
147
compileFile(" tests/neg-custom-args/indentRight.scala" , defaultOptions.and(" -noindent" , " -Xfatal-warnings" )),
147
148
compileFile(" tests/neg-custom-args/extmethods-tparams.scala" , defaultOptions.and(" -deprecation" , " -Xfatal-warnings" )),
148
- compileDir(" tests/neg-custom-args/adhoc-extension" , defaultOptions.and(" -strict" , " -feature" , " -Xfatal-warnings" ))
149
+ compileDir(" tests/neg-custom-args/adhoc-extension" , defaultOptions.and(" -strict" , " -feature" , " -Xfatal-warnings" )),
150
+ compileFile(" tests/neg/i7575.scala" , defaultOptions.and(" -language:_" )),
149
151
).checkExpectedErrors()
150
152
}
151
153
0 commit comments