Files
kotlin-fork/compiler/testData/diagnostics/tests/thisAndSuper/implicitInvokeOnSuper.fir.kt
T

15 lines
234 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_PARAMETER
open class A {
operator fun invoke() {}
operator fun invoke(f: () -> Unit) {}
}
class B : A() {
fun bar() {
super()
(super)()
super {}
(super) {}
}
}