Change String argument of property delegate method to PropertyMetadata
This commit is contained in:
@@ -2,7 +2,7 @@ val a: Int by Delegate()
|
||||
<!ACCESSOR_FOR_DELEGATED_PROPERTY!>get() = 1<!>
|
||||
|
||||
class Delegate {
|
||||
fun get(t: Any?, p: String): Int {
|
||||
fun get(t: Any?, p: PropertyMetadata): Int {
|
||||
t.equals(p) // to avoid UNUSED_PARAMETER warning
|
||||
return 1
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user