Report special diagnostic when fake-call receiver is nullable
#KT-3602 Fixed
This commit is contained in:
+1
-1
@@ -8,7 +8,7 @@ class It {
|
||||
}
|
||||
|
||||
fun test(c: Coll?) {
|
||||
for (x in <!ITERATOR_MISSING!>c<!>) {}
|
||||
for (x in <!ITERATOR_ON_NULLABLE!>c<!>) {}
|
||||
|
||||
if (c != null) {
|
||||
for(x in <!DEBUG_INFO_SMARTCAST!>c<!>) {}
|
||||
|
||||
Reference in New Issue
Block a user