getValue()/setValue() should be marked with 'operator'
This commit is contained in:
+1
-1
@@ -13,7 +13,7 @@ fun foo() {
|
||||
}
|
||||
|
||||
class Delegate {
|
||||
fun getValue(t: Any?, p: PropertyMetadata): Int {
|
||||
operator fun getValue(t: Any?, p: PropertyMetadata): Int {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user