Hi as its mentioned in docs to test some of experimental features in kotlin 2.2.20, we can add freeCompileArgs and then test them, but i tried adding this :
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:
I checked In IDE with simple kotlin file, error warnings were still there.
i
Ivan Kubyshkin
09/19/2025, 8:25 AM
The IDE support for
Data-flow-based exhaustiveness checks for when expressions
was added in 2025.3 EAP.
s
Sunil Kumar
09/19/2025, 3:17 PM
Ok thanks. I think we can add these points as well in docs that these features are available after IDE version 2025.3 , may be something like this. Thanku