[FIR] Don't assume types with not found symbol as error types
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
fun case_1(x: Int?) {
|
||||
if ((x is Int) ?: (x is Int)) {
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int?")!>x<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int?")!>x<!>.inv()
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int?")!>x<!>.<!INAPPLICABLE_CANDIDATE!>inv<!>()
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ fun case_1(x: Int?) {
|
||||
fun case_2(x: Int?) {
|
||||
if (x?.equals(1) ?: x is Int) {
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int?")!>x<!>
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int?")!>x<!>.inv()
|
||||
<!DEBUG_INFO_EXPRESSION_TYPE("kotlin.Int?")!>x<!>.<!INAPPLICABLE_CANDIDATE!>inv<!>()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user