KT-2363 Drop secondary constructors
Test data updated
This commit is contained in:
@@ -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>
|
||||
}
|
||||
Reference in New Issue
Block a user