5b3816cce5
treat it as a general one, introduce *_K1 and *_K2 variants for more specific ignoring
14 lines
215 B
Kotlin
Vendored
14 lines
215 B
Kotlin
Vendored
// !LANGUAGE: +ContextReceivers
|
|
// TARGET_BACKEND: JVM_IR
|
|
// IGNORE_BACKEND_K2: JVM_IR
|
|
// IGNORE_BACKEND: JVM
|
|
|
|
interface A {
|
|
fun a(): Int
|
|
}
|
|
interface B {
|
|
fun b(): Int
|
|
}
|
|
|
|
context(A, B)
|
|
val c get() = a() + b() |