Sunil Kumar
09/19/2025, 7:32 AMcompilerOptions {
freeCompilerArgs.add("-Xdata-flow-based-exhaustiveness")
}
But still not able to test data-flow-based-exhaustiveness, it still shows same old error: Add remaining branches
Similarly for adding language version as 2.3.0 in compilerOptions, that also does not apply:
compilerOptions {
languageVersion.set(org.jetbrains.kotlin.gradle.dsl.KotlinVersion.KOTLIN_2_3)
}
How i can test them?Ivan Kubyshkin
09/19/2025, 7:44 AMSunil Kumar
09/19/2025, 8:15 AMIvan Kubyshkin
09/19/2025, 8:25 AMData-flow-based exhaustiveness checks for when expressions
was added in 2025.3 EAP.Sunil Kumar
09/19/2025, 3:17 PM