Files
kotlin-fork/idea/testData/formatter/SecondaryConstructors.kt
T
2015-03-17 23:18:34 +03:00

31 lines
480 B
Kotlin

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(): this () {}
constructor(): super(){}
}