KT-2363 Drop secondary constructors

Test data updated
This commit is contained in:
Andrey Breslav
2012-07-19 21:01:12 +04:00
parent 4b9df9d541
commit 255b65c667
9 changed files with 8 additions and 35 deletions
@@ -7,12 +7,12 @@
this : Foo
}
<warning>this(var bar : Int) : this(1, 1, 1) {
bar = <warning>1</warning>
{
bar = 1
this.bar
1 : Int
val <warning>a</warning> : Int =1
val a : Int =1
this : Foo
}</warning>
}
}
@@ -1,3 +0,0 @@
class Z() {
<warning>this(x : Int) : this() {}</warning>
}