Files
kotlin-fork/idea/testData/formatter/SecondaryConstructors.after.kt
T
Denis Zharkov 01e5ee718f Allow secondary constructors without body
#KT-6967 Fixed
2015-03-27 16:09:40 +03:00

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