Don't mark parameters of get/set/propertyDelegated functions as unused.
#KT-5974 fixed
This commit is contained in:
@@ -12,4 +12,17 @@ class C(a: Int, b: Int, c: Int, d: Int, <!UNUSED_PARAMETER!>e<!>: Int = d, val f
|
||||
|
||||
fun f(a: Int, b: Int, <!UNUSED_PARAMETER!>c<!>: Int = b) {
|
||||
a + a
|
||||
}
|
||||
}
|
||||
|
||||
fun Any.get(thisRef: Any?, prop: PropertyMetadata): String = ":)"
|
||||
fun Any.set(thisRef: Any?, prop: PropertyMetadata, value: String) {
|
||||
}
|
||||
|
||||
fun Any.propertyDelegated(prop: PropertyMetadata) {
|
||||
}
|
||||
|
||||
fun get(p: Any) {
|
||||
}
|
||||
|
||||
fun set(p: Any) {
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user