don't report unnecessary smart cast on receiver
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
fun Any?.foo() {}
|
||||
|
||||
fun test(a: Any?) {
|
||||
if (a != null) {
|
||||
a.foo()
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user