Files
kotlin-fork/compiler/testData/diagnostics/tests/resolve/superInvoke.kt
T
2021-11-10 22:00:00 +03:00

14 lines
201 B
Kotlin
Vendored

// FIR_IDENTICAL
// SKIP_TXT
// FILE: main.kt
open class A {
protected open val x: (String) -> Boolean = { true }
}
class B : A() {
override val x = { y: String ->
super.x(y)
}
}