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