Allow secondary constructors without body
#KT-6967 Fixed
This commit is contained in:
@@ -9,7 +9,7 @@ class B : A {
|
||||
val global = B()
|
||||
|
||||
class C(x: Int) : A by global {
|
||||
constructor(): this(1) {}
|
||||
constructor(): this(1)
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
|
||||
Reference in New Issue
Block a user