Files
kotlin-fork/j2k/testData/fileOrElement/constructors/artificialPrimary.kt
T
2015-09-18 15:44:18 +03:00

15 lines
272 B
Kotlin
Vendored

// ERROR: Property must be initialized or be abstract
class Test {
private val s: String
internal var b: Boolean = false
internal var d: Double = 0.toDouble()
constructor() {
b = true
}
constructor(s: String) {
this.s = s
}
}