Pass "-Xtype-enhancement-improvements-strict-mode" to the compiler when compiling kotlin code
This commit is contained in:
parent
a20e8cd55b
commit
dbe6390fb4
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue