Files
kotlin-fork/j2k/testData/fileOrElement/constructors/secondaryConstructorWithDefaultValues2.kt
T

12 lines
252 B
Kotlin
Vendored

// ERROR: Val cannot be reassigned
// ERROR: Val cannot be reassigned
class A() {
private val s = ""
private val x = 0
JvmOverloads public constructor(p: Int, s: String, x: Int = 1) : this() {
this.s = s
this.x = x
}
}