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
@@ -5,5 +5,5 @@ var bar : Int = 1
val x : (Int) -> Int = {([<!UNRESOLVED_REFERENCE!>varargs<!>] x : Int) -> x}
class Hello(<!UNRESOLVED_REFERENCE!>varargs<!> args: Any) {
class Hello(<!UNRESOLVED_REFERENCE!>varargs<!> <!UNUSED_PARAMETER!>args<!>: Any) {
}
@@ -7,5 +7,5 @@ var bar : Int = 1
val x : (Int) -> Int = {([test] x : Int) -> x}
class Hello(test args: Any) {
class Hello(test <!UNUSED_PARAMETER!>args<!>: Any) {
}