Fixing failed tests: do not report anything on casts that can never succeed

This commit is contained in:
Andrey Breslav
2013-09-04 16:32:47 +04:00
parent e3079ac667
commit e3175c66e8
11 changed files with 26 additions and 26 deletions
@@ -1,2 +1,2 @@
fun ff(c: MutableCollection<String>) = c <!CAST_NEVER_SUCCEEDS!>as<!> MutableList<Int>
fun ff(c: MutableCollection<String>) = <!UNCHECKED_CAST!>c as MutableList<Int><!>