TEST: added defaults9 test
This commit is contained in:
committed by
vvlevchenko
parent
32a988df17
commit
6310ec80c3
@@ -0,0 +1,7 @@
|
||||
class Foo {
|
||||
inner class Bar(x: Int, val y: Int = 1) {
|
||||
constructor() : this(42)
|
||||
}
|
||||
}
|
||||
|
||||
fun main(arg:Array<String>) = println(Foo().Bar().y)
|
||||
Reference in New Issue
Block a user