Replace get() and set() to getValue() and setValue() (property delegates)
This commit is contained in:
@@ -2,10 +2,10 @@ package foo
|
||||
|
||||
class Delegate {
|
||||
var inner = 1
|
||||
fun get(t: Any?, p: PropertyMetadata): Int = inner
|
||||
fun getValue(t: Any?, p: PropertyMetadata): Int = inner
|
||||
}
|
||||
|
||||
fun Delegate.set(t: Any?, p: PropertyMetadata, i: Int) {
|
||||
fun Delegate.setValue(t: Any?, p: PropertyMetadata, i: Int) {
|
||||
inner = i
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user