Inspectopedia
 
2024.3

Ambiguous logical expressions in 'when' branches since 1.7

Warning
New
Last modified: 03 December 2024

Reports ambiguous logical expressions in when branches which cause compilation errors in Kotlin 1.8 and later.

After the quick-fix is applied:

Inspection is available for Kotlin language level starting from 1.7.