Files
kotlin-fork/idea/testData/formatter/SecondaryConstructors.kt
T
Dmitry Neverov c3c5805a5f Fix indent in constructor delegate call (KT-7718)
(cherry picked from commit 5699b14)

 #KT-7718 Fixed
2016-10-18 14:01:51 +03:00

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