Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/property.kt.txt
T
2021-12-02 20:25:06 +03:00

15 lines
191 B
Plaintext
Vendored

interface A {
abstract fun a(): Int
}
interface B {
abstract fun b(): Int
}
val c: Int
get(<this>: A, <this>: B): Int {
return <this>.a().plus(other = <this> /*as B */.b())
}