Files
kotlin-fork/compiler/testData/diagnostics/tests/AnonymousInitializers.fir.kt
T
2020-03-05 16:48:47 +03:00

27 lines
232 B
Kotlin
Vendored

interface NoC {
init {
}
val a : Int get() = 1
init {
}
}
class WithC() {
val x : Int = 1
init {
val b = x
}
val a : Int get() = 1
init {
val z = <!UNRESOLVED_REFERENCE!>b<!>
val zz = x
}
}