when expressions with only an else branch that can be simplified.
Simplify expression quick-fix can be used to amend the code automatically.
Example:
fun redundant() {
val x = when { // <== redundant, a quick-fix simplifies the when expression to "val x = 1"
else -> 1
}
}