getValue()/setValue() should be marked with 'operator'
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
var a: Int by <!DELEGATE_SPECIAL_FUNCTION_MISSING(setValue\(kotlin.Nothing?, kotlin.PropertyMetadata, kotlin.Int\); A)!>A()<!>
|
||||
|
||||
class A {
|
||||
fun getValue(t: Any?, p: PropertyMetadata): Int {
|
||||
operator fun getValue(t: Any?, p: PropertyMetadata): Int {
|
||||
return 1
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user