Files
kotlin/compiler/testData/diagnostics/tests/callableReference/function/callableRefrenceOnNestedObject.fir.kt

10 lines
89 B
Kotlin
Vendored

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