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
+2 -2
View File
@@ -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>