FIR: drop questionable DiagnosticKind.NotRootCause

This commit is contained in:
Mikhail Glukhikh
2021-07-06 10:44:11 +03:00
parent 7d583973ab
commit bf40c07cc3
5 changed files with 14 additions and 31 deletions
@@ -12,7 +12,7 @@ fun testSimpleValInWhenSubject() {
fun testValWithoutInitializerWhenSubject() {
when (<!ILLEGAL_DECLARATION_IN_WHEN_SUBJECT!>val y: Any<!>) {
is String -> <!UNINITIALIZED_VARIABLE!>y<!>.<!UNRESOLVED_REFERENCE!>length<!>
<!EXPECTED_CONDITION!>is String<!> -> <!UNINITIALIZED_VARIABLE!>y<!>.<!UNRESOLVED_REFERENCE!>length<!>
}
}