Convert 'simplify when' from intention to inspection
Related to KT-20492
This commit is contained in:
Vendored
+6
@@ -0,0 +1,6 @@
|
||||
// ERROR: 'when' expression must be exhaustive, add necessary 'else' branch
|
||||
// WITH_RUNTIME
|
||||
fun test() {
|
||||
val x = when {
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user