KT-2363 Drop secondary constructors
Test data updated
This commit is contained in:
@@ -16,11 +16,11 @@ class Test() {
|
||||
var a : Int = 111
|
||||
var b : Int get() = $a; set(x) {a = x; $a = x}
|
||||
|
||||
<warning>this(i : Int) : this() {
|
||||
{
|
||||
<error>$b</error> = $a
|
||||
$a = <error>$b</error>
|
||||
a = <error>$b</error>
|
||||
}</warning>
|
||||
}
|
||||
fun f() {
|
||||
<error>$b</error> = $a
|
||||
a = <error>$b</error>
|
||||
|
||||
Reference in New Issue
Block a user