Fixed test for KT-6530 Do not report "useless cast" when RHS is unresolved

This commit is contained in:
Evgeny Gerashchenko
2015-01-12 21:33:48 +03:00
parent c64cb06180
commit 22f4caa78d
2 changed files with 1 additions and 3 deletions
@@ -13,6 +13,4 @@ fun test() : Unit {
x <!USELESS_CAST!>as? Int?<!> : Int?
y <!USELESS_CAST_STATIC_ASSERT_IS_FINE!>as? Int?<!> : Int?
Unit
x as <!UNRESOLVED_REFERENCE!>UnresolvedType<!>
}