Report UNUSED_PARAMETER on main parameter in 1.3+ #KT-26999 Fixed

This commit is contained in:
Mikhail Glukhikh
2018-10-19 15:19:17 +03:00
parent b9161c5293
commit f3555daa60
205 changed files with 241 additions and 207 deletions
@@ -20,7 +20,7 @@ class Test: ATest(), ITest {
<!CANNOT_CHANGE_ACCESS_PRIVILEGE, SETTER_VISIBILITY_INCONSISTENT_WITH_PROPERTY_VISIBILITY!>internal<!> set(<!UNUSED_PARAMETER!>value<!>) {}
}
fun main(args: Array<String>) {
fun main() {
val test = Test()
<!INVISIBLE_SETTER!>test.prop<!> = 12