Change String argument of property delegate method to PropertyMetadata
This commit is contained in:
+2
-2
@@ -5,12 +5,12 @@ class A {
|
||||
var aTopLevel: Int by <!DELEGATE_SPECIAL_FUNCTION_NONE_APPLICABLE!>Delegate()<!>
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
fun set(t: Any?, p: String, a: Int, c: Int) {
|
||||
fun set(t: Any?, p: PropertyMetadata, a: Int, c: Int) {
|
||||
t.equals(p) // to avoid UNUSED_PARAMETER warning
|
||||
c.equals(a)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user