open class C
class D: C()
fun C.foo() = "c"
fun D.foo() = "d"
fun main() {
val d = D()
print(d.foo()) // d
val c: C = d
print(c.foo()) // c
}
fun foo('this$receiver': C) = "c"
fun foo('this$receiver': D) = "d"
inline fun CharSequence?.isNullOrBlank(): Boolean { /*...*/ }
public fun Iterable<Int>.sum(): Int { /*...*/ }