FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
+1
-1
@@ -34,7 +34,7 @@ fun test3(x: AnotherClass?) {
|
||||
fun test4(x: SomeClass?) {
|
||||
val bar = x?.bar
|
||||
if (bar != null) {
|
||||
x.bar.<!UNSAFE_CALL!>length<!>
|
||||
x.bar<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user