Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/function/callableRefrenceOnNestedObject.kt
T

11 lines
106 B
Kotlin
Vendored

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