Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/property.kt
T
2022-04-06 16:05:40 +00:00

12 lines
138 B
Kotlin
Vendored

// !LANGUAGE: +ContextReceivers
interface A {
fun a(): Int
}
interface B {
fun b(): Int
}
context(A, B)
val c get() = a() + b()