[FIR] Try to infer result type of incomplete when expression
^KT-62069 Fixed
This commit is contained in:
committed by
Space Team
parent
e2f245096c
commit
88f7b085e6
+1
-1
@@ -38,5 +38,5 @@ fun foo(a: A) {
|
||||
<!NO_ELSE_IN_WHEN!>when<!> (a) {
|
||||
is A.A1 -> ""
|
||||
is B.B1 -> "..."
|
||||
}.<!UNRESOLVED_REFERENCE!>length<!>
|
||||
}.length
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user