Allow secondary constructors without body
#KT-6967 Fixed
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
class A {
|
||||
constructor()
|
||||
fun foo() = 1
|
||||
public constructor()
|
||||
val x = 2
|
||||
|
||||
constructor(): this()
|
||||
constructor(): super(3)
|
||||
val x = 4
|
||||
}
|
||||
Reference in New Issue
Block a user