Files
kotlin-fork/j2k/testData/fileOrElement/constructors/secondaryConstructorWithDefaultValues.kt
T
2015-05-27 12:23:08 +02:00

14 lines
274 B
Kotlin

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