02180e8685
^KT-57777 Fixed ^KT-57818 Fixed
13 lines
155 B
Kotlin
Vendored
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()
|