Files
kotlin/compiler/testData/diagnostics/testsWithJsStdLib/implementingFunction.kt

9 lines
339 B
Kotlin
Vendored

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()