[AA] KtExpressionInfoProvider.getMissingCases: fix no subject case

return missing else branch (even if it's present, see kdoc)

^ KT-62875 fixed
This commit is contained in:
Anna Kozlova
2023-10-24 22:09:45 +02:00
committed by Space Team
parent 19104f73bf
commit e79bc5bb59
12 changed files with 103 additions and 1 deletions
@@ -0,0 +1,5 @@
fun test() {
<caret>when {
true -> {}
}
}
@@ -0,0 +1,5 @@
fun test() {
<caret>when() {
true -> {}
}
}
@@ -0,0 +1,6 @@
fun test() {
<caret>when {
true -> {}
else -> { }
}
}