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) {
|
with(kotlinOptions) {
|
||||||
// https://github.com/JetBrains/kotlin/blob/master/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt
|
// https://github.com/JetBrains/kotlin/blob/master/compiler/cli/cli-common/src/org/jetbrains/kotlin/cli/common/arguments/K2JVMCompilerArguments.kt
|
||||||
freeCompilerArgs = listOf(
|
freeCompilerArgs = listOf(
|
||||||
"-Xjvm-default=all", "-Xlambdas=indy",
|
"-Xjvm-default=all", "-Xlambdas=indy", "-Xtype-enhancement-improvements-strict-mode",
|
||||||
"-Xmultifile-parts-inherit",
|
"-Xmultifile-parts-inherit",
|
||||||
"-Xparallel-backend-threads=0", "-Xno-param-assertions", "-Xno-call-assertions",
|
"-Xparallel-backend-threads=0", "-Xno-param-assertions", "-Xno-call-assertions",
|
||||||
"-Xopt-in=kotlin.RequiresOptIn", "-Xextended-compiler-checks", "-Xassertions=jvm", "-progressive"
|
"-Xopt-in=kotlin.RequiresOptIn", "-Xextended-compiler-checks", "-Xassertions=jvm", "-progressive"
|
||||||
|
Loading…
Reference in New Issue
Block a user