FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
+1
-1
@@ -18,5 +18,5 @@ public fun foo(x: String?): Int {
|
||||
// y is always Int even here
|
||||
checkSubtype<Int>(y)
|
||||
// x is null because of the break
|
||||
return x.<!UNSAFE_CALL!>length<!>
|
||||
return x<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user