FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
+1
-1
@@ -11,5 +11,5 @@ fun test(b: Boolean) {
|
||||
} else {
|
||||
a = null
|
||||
}
|
||||
a.<!UNSAFE_CALL{LT}!><!UNSAFE_CALL{PSI}!>foo<!>()<!>
|
||||
a<!UNSAFE_CALL!>.<!>foo()
|
||||
}
|
||||
|
||||
Vendored
+1
-1
@@ -18,5 +18,5 @@ fun test_3() {
|
||||
x = ""
|
||||
x.length
|
||||
x = null
|
||||
x.<!UNSAFE_CALL!>length<!>
|
||||
x<!UNSAFE_CALL!>.<!>length
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user