KT-6671 Report unused constructor parameters

#KT-6671 fixed
This commit is contained in:
Evgeny Gerashchenko
2015-01-27 19:24:19 +03:00
parent f96f1b8cb0
commit 897854b3dc
49 changed files with 106 additions and 69 deletions
@@ -10,7 +10,7 @@ class WithC2() : <!SUPERTYPE_NOT_INITIALIZED!>WithC1<!>
class WithPC0() {
}
class WithPC1(a : Int) {
class WithPC1(<!UNUSED_PARAMETER!>a<!> : Int) {
}
@@ -18,7 +18,7 @@ class Foo() : <!SUPERTYPE_NOT_INITIALIZED, FINAL_SUPERTYPE!>WithPC0<!>, <!SYNTAX
}
class WithCPI_Dup(x : Int) {
class WithCPI_Dup(<!UNUSED_PARAMETER!>x<!> : Int) {
<!MUST_BE_INITIALIZED_OR_BE_ABSTRACT!>var x : Int<!>
}