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
+1 -12
View File
@@ -8,24 +8,13 @@ class NoC2 : <error>WithC1</error>
class NoC3 : WithC1()
class WithC2() : <error>WithC1</error>
class <error>NoPC</error> {
<error><error>this</error>() {}</error>
class NoPC {
}
class WithPC0() {
<warning>this(a : Int) : this() {}</warning>
}
class WithPC1(a : Int) {
<warning><error>this</error>() {}</warning>
<warning>this(b : Long) : this("") {}</warning>
<warning>this(s : String) : this(1) {}</warning>
<warning>this(b : Char) : <error>this</error>("", 2) {}</warning>
<warning>this(b : Byte) : this(""), <error>this(1)</error> {}</warning>
}