Replace get() and set() to getValue() and setValue() (property delegates)
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ class B {
|
||||
}
|
||||
|
||||
class MyProperty<R : A, T> {
|
||||
public fun get(thisRef: R, desc: PropertyMetadata): T {
|
||||
public fun getValue(thisRef: R, desc: PropertyMetadata): T {
|
||||
throw Exception("$thisRef $desc")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user