Files
kotlin-fork/compiler/testData/ir/irText/declarations/contextReceivers/overloadPriority.kt
T
2023-03-22 15:18:17 +00:00

18 lines
247 B
Kotlin
Vendored

// FIR_IDENTICAL
// !LANGUAGE: +ContextReceivers
// IGNORE_BACKEND: JS_IR
// IGNORE_BACKEND: JS_IR_ES6
class Context
context(Context)
fun f(): String = TODO()
fun f(): Any = TODO()
fun test() {
with(Context()) {
f().length
}
}