Deprecated conventions (get -> getValue, plus -> unaryPlus) quickfix

This commit is contained in:
Yan Zhulanow
2015-10-12 18:08:07 +03:00
parent f9e89596fd
commit 528482f625
11 changed files with 138 additions and 2 deletions
@@ -0,0 +1,9 @@
// "Rename to 'setValue'" "true"
class CustomDelegate {
operator fun get(thisRef: Any?, prop: PropertyMetadata): String = ""
operator fun setValue(thisRef: Any?, prop: PropertyMetadata, value: String) {}
}
class Example {
var a: String by CustomDelegate()
}