Some additional secondary constructor examples.
This commit is contained in:
committed by
Dmitry Petrov
parent
3e96f7b015
commit
0c0dac4822
+3
@@ -11,4 +11,7 @@ class TestInitBlock : Base {
|
||||
x = 0
|
||||
}
|
||||
constructor()
|
||||
constructor(z: Any)
|
||||
|
||||
constructor(y: Int): this()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user