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

9 lines
93 B
Kotlin
Vendored

class My {
val x: String
init {
x = foo()
}
fun foo(): String = x
}