Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/property.kt
T
Sergej Jaskiewicz 02180e8685 Factor out duplicated mangling logic for functions into the base class
^KT-57777 Fixed
^KT-57818 Fixed
2023-05-26 10:55:24 +00:00

13 lines
155 B
Kotlin
Vendored

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