getValue()/setValue() should be marked with 'operator'

This commit is contained in:
Yan Zhulanow
2015-10-12 01:59:40 +03:00
parent bc3d1ddda0
commit dc8e796e49
121 changed files with 242 additions and 231 deletions
@@ -2,10 +2,10 @@
class Delegate() {
@Deprecated("text")
fun getValue(instance: Any, property: PropertyMetadata) : Int = 1
operator fun getValue(instance: Any, property: PropertyMetadata) : Int = 1
@Deprecated("text")
fun setValue(instance: Any, property: PropertyMetadata, value: Int) {}
operator fun setValue(instance: Any, property: PropertyMetadata, value: Int) {}
}
class PropertyHolder {