don't report autocast on left expression in equality

if it was checked for not-null beforehand
This commit is contained in:
Svetlana Isakova
2013-12-09 16:11:35 +04:00
parent 90535283ba
commit 4a26c9df04
3 changed files with 21 additions and 2 deletions
@@ -0,0 +1,5 @@
fun test(a: Any?) {
if (a is String) {
a == ""
}
}