Fixing failed tests: do not report anything on casts that can never succeed
This commit is contained in:
@@ -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><!>
|
||||
|
||||
Reference in New Issue
Block a user