Remove obsolete compiler flag -Xuse-ir
This commit is contained in:
committed by
Space Team
parent
2951e0b955
commit
60016d3e5b
-1
@@ -133,7 +133,6 @@ internal fun reportArgumentsNotAllowed(
|
||||
messageCollector,
|
||||
reportingState,
|
||||
K2JVMCompilerArguments::useJavac,
|
||||
K2JVMCompilerArguments::useIR,
|
||||
K2JVMCompilerArguments::useK2
|
||||
)
|
||||
|
||||
|
||||
-8
@@ -81,14 +81,6 @@ class ScriptingCompilerPluginTest : TestCase() {
|
||||
return KotlinCoreEnvironment.createForTests(disposable, configuration, EnvironmentConfigFiles.JVM_CONFIG_FILES)
|
||||
}
|
||||
|
||||
fun testUseOldBackendPreservedOnOptionsUpdate() {
|
||||
val configuration = KotlinTestUtils.newConfiguration(ConfigurationKind.NO_KOTLIN_REFLECT, TestJdkKind.FULL_JDK).apply {
|
||||
put(JVMConfigurationKeys.IR, false)
|
||||
updateWithCompilerOptions(emptyList())
|
||||
}
|
||||
Assert.assertEquals(configuration[JVMConfigurationKeys.IR], false)
|
||||
}
|
||||
|
||||
fun testScriptResolverEnvironmentArgsParsing() {
|
||||
|
||||
val longStr = (1..100).joinToString("\\,") { """\" $it aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa \\""" }
|
||||
|
||||
Reference in New Issue
Block a user