Introduce FirForLoopChecker

This commit is contained in:
Mikhail Glukhikh
2021-04-02 13:19:04 +03:00
parent 4ddc0ed3fe
commit 2e14b65644
35 changed files with 708 additions and 118 deletions
@@ -14,8 +14,8 @@ class MyClass {
var res = 0
m = create()
// See KT-7428
<!UNSAFE_CALL!>for ((k, v) in m)
res += (k.length + v.length)<!>
for ((k, v) in <!ITERATOR_ON_NULLABLE!>m<!>)
res += (k.length + v.length)
return res
}
}