Resolve target: fun foo(): kotlin.Unit ---------------------------------------------- class C { fun foo(){} } fun Any.f() { if (this !is C) return this.foo() }