FIR: report UNSAFE_CALL on dot when possible
This commit is contained in:
+1
-1
@@ -158,7 +158,7 @@ fun test() {
|
||||
|
||||
fun f(out : String?) {
|
||||
out?.get(0)
|
||||
out.<!UNSAFE_CALL!>get<!>(0)
|
||||
out<!UNSAFE_CALL!>.<!>get(0)
|
||||
if (out != null) else return;
|
||||
out.get(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user