Files
kotlin-fork/compiler/testData/diagnostics/tests/callableReference/kt7430_wrongClassOnLHS.fir.kt
T
2020-01-23 12:32:39 +03:00

13 lines
230 B
Kotlin
Vendored

// !DIAGNOSTICS: -UNUSED_EXPRESSION
class Unrelated()
class Test(val name: String = "") {
init {
<!UNRESOLVED_REFERENCE!>Unrelated::name<!>
<!UNRESOLVED_REFERENCE!>Unrelated::foo<!>
}
fun foo() {}
}