Files
kotlin-fork/compiler/testData/diagnostics/tests/constructorConsistency/companion.fir.kt
T

19 lines
237 B
Kotlin
Vendored

class My {
val x = foo()
val w = bar()
fun foo() = 0
companion object {
val y = <!UNRESOLVED_REFERENCE!>foo<!>()
val u = bar()
val z: String? = bar()
fun bar() = "1"
}
}