Files
kotlin/compiler/testData/diagnostics/testsWithStdLib/callableReference/function/callableRefrenceOnNestedObject.kt
2014-09-01 12:32:49 +04:00

9 lines
89 B
Kotlin

open class A {
fun foo() = 42
object B: A()
}
fun test() {
A.B.(A::foo)()
}