Allow secondary constructors without body
#KT-6967 Fixed
This commit is contained in:
@@ -12,6 +12,6 @@ class A {
|
||||
object C {
|
||||
}
|
||||
|
||||
constructor(x: Int) {}
|
||||
constructor() : this(foo() + prop + B.bar() + B.prop + C) {}
|
||||
constructor(x: Int)
|
||||
constructor() : this(foo() + prop + B.bar() + B.prop + C)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user