getValue()/setValue() should be marked with 'operator'
This commit is contained in:
Vendored
+1
-1
@@ -1,6 +1,6 @@
|
||||
// !DIAGNOSTICS: -UNUSED_PARAMETER
|
||||
|
||||
fun Any.getValue(x: Any?, y: Any): Any = null!!
|
||||
operator fun Any.getValue(x: Any?, y: Any): Any = null!!
|
||||
|
||||
class <!CONFLICTING_JVM_DECLARATIONS!>C<!> {
|
||||
val x by 1
|
||||
|
||||
Reference in New Issue
Block a user