Pass "-Xtype-enhancement-improvements-strict-mode" to the compiler when compiling kotlin code

This commit is contained in:
Username404 2021-10-27 13:52:04 +02:00
parent a20e8cd55b
commit dbe6390fb4
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 1 deletions

View File

@ -207,7 +207,7 @@ allprojects {
with(kotlinOptions) {
// https://github.com/JetBrains/kotlin/blob/master/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt
freeCompilerArgs = listOf(
"-Xjvm-default=all", "-Xlambdas=indy",
"-Xjvm-default=all", "-Xlambdas=indy", "-Xtype-enhancement-improvements-strict-mode",
"-Xmultifile-parts-inherit",
"-Xparallel-backend-threads=0", "-Xno-param-assertions", "-Xno-call-assertions",
"-Xopt-in=kotlin.RequiresOptIn", "-Xextended-compiler-checks", "-Xassertions=jvm", "-progressive"