Drop CommonCompilerArguments.optInDeprecated

On the way to KT-22956
This commit is contained in:
Mikhail Glukhikh
2022-01-12 21:35:39 +03:00
committed by Space
parent 5798320e9e
commit eeadd8588d
6 changed files with 6 additions and 23 deletions
@@ -150,7 +150,7 @@ private class ExtTestDataFile(
private fun assembleFreeCompilerArgs(): TestCompilerArgs {
val args = mutableListOf<String>()
testDataFileSettings.languageSettings.sorted().mapTo(args) { "-XXLanguage:$it" }
testDataFileSettings.optInsForCompiler.sorted().mapTo(args) { "-Xopt-in=$it" }
testDataFileSettings.optInsForCompiler.sorted().mapTo(args) { "-opt-in=$it" }
if (testDataFileSettings.expectActualLinker) args += "-Xexpect-actual-linker"
return TestCompilerArgs(args)
}