Files
kotlin/compiler/testData/codegen/box/callableReference/function/abstractClassMember.kt
2018-08-09 14:22:50 +03:00

10 lines
136 B
Kotlin
Vendored

abstract class A {
abstract fun foo(): String
}
class B : A() {
override fun foo() = "OK"
}
fun box(): String = (A::foo)(B())