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
|
||||
|
||||
Vendored
+1
-1
@@ -2,7 +2,7 @@ package
|
||||
|
||||
public val `$propertyMetadata`: kotlin.Array<kotlin.PropertyMetadata>
|
||||
public val x: kotlin.Any
|
||||
public fun kotlin.Any.getValue(/*0*/ x: kotlin.Any?, /*1*/ y: kotlin.Any): kotlin.Any
|
||||
public operator fun kotlin.Any.getValue(/*0*/ x: kotlin.Any?, /*1*/ y: kotlin.Any): kotlin.Any
|
||||
|
||||
public final class C {
|
||||
public constructor C()
|
||||
|
||||
Reference in New Issue
Block a user