Report special diagnostic when fake-call receiver is nullable

#KT-3602 Fixed
This commit is contained in:
Denis Zharkov
2016-02-01 13:49:49 +03:00
parent 829a5639f1
commit 816c66063b
14 changed files with 34 additions and 35 deletions
@@ -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<!>) {}