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

12 lines
131 B
Kotlin
Vendored

class My {
val x: String
constructor() {
val temp = this
x = bar(temp)
}
}
fun bar(arg: My) = arg.x