Allow secondary constructors without body

#KT-6967 Fixed
This commit is contained in:
Denis Zharkov
2015-03-20 12:59:05 +03:00
parent 3f0541924f
commit 01e5ee718f
54 changed files with 390 additions and 153 deletions
@@ -2,7 +2,7 @@ class A {
constructor() {}
constructor() {}
fun foo() {}
constructor() {}
constructor()
fun foo() {}
constructor() {}
val x = 1
@@ -26,6 +26,6 @@ constructor() {}
constructor() : this() {}
constructor():this() {}
constructor(): this () {}
constructor(): this ()
constructor(): super(){}
}