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

27 lines
205 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 = b
val zz = x
}
}