Fix kotlin-native/backend.native/tests/samples after 82524fd
Enable language feature for these tests, because some code relies on implicit integer coercion there
This commit is contained in:
committed by
Space Team
parent
67fc9be3c5
commit
ba2e46758d
@@ -19,6 +19,10 @@ allprojects {
|
|||||||
val kotlinCompilerRepo: String? by rootProject
|
val kotlinCompilerRepo: String? by rootProject
|
||||||
kotlinCompilerRepo?.let { maven(it) }
|
kotlinCompilerRepo?.let { maven(it) }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinNativeCompile>().configureEach {
|
||||||
|
compilerOptions.freeCompilerArgs.add("-XXLanguage:+ImplicitSignedToUnsignedIntegerConversion")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
val hostOs = System.getProperty("os.name")
|
val hostOs = System.getProperty("os.name")
|
||||||
|
|||||||
Reference in New Issue
Block a user