ConsistentWhenEntries: Existing rule update.
Before, this was not allowed but is allowed now.
val a = listOf<Int>()
val b = when(a) {
is ArrayList,
is MutableList,
-> true
else -> false
}
Before, this was allowed but should not be allowed
val a = listOf<Int>()
val b = when(a) {
is ArrayList,
is MutableList,
-> {
true
}
else -> false
}