FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
+1
-1
@@ -36,6 +36,6 @@ fun foo(x: Iterator<String>, y: Iterator<String?>) {
|
||||
|
||||
x.forEachRemaining { it -> it.length }
|
||||
x.forEachRemaining { it -> it?.length }
|
||||
y.forEachRemaining { it -> it.<!UNSAFE_CALL!>length<!> }
|
||||
y.forEachRemaining { it -> it<!UNSAFE_CALL!>.<!>length }
|
||||
y.forEachRemaining { it -> it?.length }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user