Files
kotlin-fork/idea/testData/formatter/SecondaryConstructors.kt
T

39 lines
603 B
Kotlin
Vendored

class A {
constructor() {}
constructor() {}
fun foo() {}
constructor()
fun foo() {}
constructor() {}
val x = 1
constructor() {}
fun foo() {}
val x = 1
constructor() {}
val x = 1
val x = 1
constructor() {}
constructor() {
x = 1
}
fun foo() = 1
constructor() {}
fun foo() = 1
constructor() : this() {}
constructor():this() {}
constructor(a: Int) : this()
constructor(a: Byte) : this()
constructor(): this ()
constructor(): super(){}
constructor(): this ()
constructor(): super(){}
}