Replace get() and set() to getValue() and setValue() (property delegates)

This commit is contained in:
Yan Zhulanow
2015-10-05 20:18:58 +03:00
parent 2fee9d362c
commit 1f2b4e20fe
295 changed files with 718 additions and 511 deletions
+4 -4
View File
@@ -14,17 +14,17 @@ fun f(a: Int, b: Int, <!UNUSED_PARAMETER!>c<!>: Int = b) {
a + a
}
fun Any.get(thisRef: Any?, prop: PropertyMetadata): String = ":)"
fun Any.set(thisRef: Any?, prop: PropertyMetadata, value: String) {
fun Any.getValue(thisRef: Any?, prop: PropertyMetadata): String = ":)"
fun Any.setValue(thisRef: Any?, prop: PropertyMetadata, value: String) {
}
fun Any.propertyDelegated(prop: PropertyMetadata) {
}
fun get(p: Any) {
fun get(<!UNUSED_PARAMETER!>p<!>: Any) {
}
fun set(p: Any) {
fun set(<!UNUSED_PARAMETER!>p<!>: Any) {
}
fun foo(s: String) {