FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
+1
-1
@@ -2,7 +2,7 @@ fun foo(y: String?) {
|
||||
var x: String? = ""
|
||||
if (x != null) {
|
||||
with(y?.let { x = null; it }) {
|
||||
this.<!UNSAFE_CALL!>length<!>
|
||||
this<!UNSAFE_CALL!>.<!>length
|
||||
x.length
|
||||
}
|
||||
x.length
|
||||
|
||||
Reference in New Issue
Block a user