don't report unnecessary smart cast on receiver

This commit is contained in:
Svetlana Isakova
2013-12-03 14:19:11 +04:00
parent 33c04bde9a
commit 46b77f4472
6 changed files with 20 additions and 7 deletions
@@ -0,0 +1,7 @@
fun Any?.foo() {}
fun test(a: Any?) {
if (a != null) {
a.foo()
}
}