Files
kotlin-fork/compiler/testData/diagnostics/testsWithJsStdLib/implementingFunction.kt
T
2023-01-09 08:57:10 +00:00

10 lines
356 B
Kotlin
Vendored

// FIR_IDENTICAL
abstract class <!IMPLEMENTING_FUNCTION_INTERFACE!>A<!> : () -> Unit
<!IMPLEMENTING_FUNCTION_INTERFACE!>object B<!> : (String, Int) -> Long {
override fun invoke(a: String, B: Int) = 23L
}
abstract class <!IMPLEMENTING_FUNCTION_INTERFACE!>C<!> : kotlin.Function1<Any, Int>
abstract class <!IMPLEMENTING_FUNCTION_INTERFACE!>D<!> : C()