Report UNUSED_PARAMETER in setter #KT-21129 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-04-27 16:09:29 +03:00
parent bcc1c02e73
commit e76debb12b
58 changed files with 118 additions and 115 deletions
@@ -3,6 +3,6 @@ var y: Int = 1
// No backing field!
<!MUST_BE_INITIALIZED!>var x: Int<!>
get() = y
set(<!ACCESSOR_PARAMETER_NAME_SHADOWING!>field<!>) {
set(<!ACCESSOR_PARAMETER_NAME_SHADOWING, UNUSED_PARAMETER!>field<!>) {
y = field
}