Can someone confirm this should be reported as an ...
# announcements
s
Can someone confirm this should be reported as an improvement?
Copy code
var obj: MyClass = null
fun foo() {
    if (obj != null) {
        obj.bar() // SMARTCAST_IMPOSSIBLE because obj could have been changed
    }
}