@@ -60,7 +60,8 @@ class CompilationTests extends ParallelTesting {
6060 compileFile(" tests/pos-special/indent-colons.scala" , defaultOptions.and(" -Yindent-colons" )),
6161 compileFile(" tests/pos-special/i7296.scala" , defaultOptions.and(" -strict" , " -deprecation" , " -Xfatal-warnings" )),
6262 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" )),
6465 ).checkCompile()
6566 }
6667
@@ -145,7 +146,8 @@ class CompilationTests extends ParallelTesting {
145146 compileFile(" tests/neg-custom-args/wildcards.scala" , defaultOptions.and(" -strict" , " -deprecation" , " -Xfatal-warnings" )),
146147 compileFile(" tests/neg-custom-args/indentRight.scala" , defaultOptions.and(" -noindent" , " -Xfatal-warnings" )),
147148 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:_" )),
149151 ).checkExpectedErrors()
150152 }
151153
0 commit comments