getValue()/setValue() should be marked with 'operator'

This commit is contained in:
Yan Zhulanow
2015-10-12 01:59:40 +03:00
parent bc3d1ddda0
commit dc8e796e49
121 changed files with 242 additions and 231 deletions
@@ -3,8 +3,8 @@ interface Out<out T>
interface Inv<T>
class Delegate<T> {
fun getValue(t: Any, p: PropertyMetadata): T = null!!
fun setValue(t: Any, p: PropertyMetadata, value: T) {}
operator fun getValue(t: Any, p: PropertyMetadata): T = null!!
operator fun setValue(t: Any, p: PropertyMetadata, value: T) {}
}
fun <T> getT(): T = null!!
@@ -5,9 +5,9 @@ public fun </*0*/ T> getT(): T
public final class Delegate</*0*/ T> {
public constructor Delegate</*0*/ T>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun getValue(/*0*/ t: kotlin.Any, /*1*/ p: kotlin.PropertyMetadata): T
public final operator fun getValue(/*0*/ t: kotlin.Any, /*1*/ p: kotlin.PropertyMetadata): T
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final fun setValue(/*0*/ t: kotlin.Any, /*1*/ p: kotlin.PropertyMetadata, /*2*/ value: T): kotlin.Unit
public final operator fun setValue(/*0*/ t: kotlin.Any, /*1*/ p: kotlin.PropertyMetadata, /*2*/ value: T): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}
@@ -3,8 +3,8 @@ interface Out<out T>
interface Inv<T>
class Delegate<T> {
fun getValue(t: Any, p: PropertyMetadata): T = null!!
fun setValue(t: Any, p: PropertyMetadata, varue: T) {}
operator fun getValue(t: Any, p: PropertyMetadata): T = null!!
operator fun setValue(t: Any, p: PropertyMetadata, varue: T) {}
}
fun <T> getT(): T = null!!
@@ -5,9 +5,9 @@ public fun </*0*/ T> getT(): T
public final class Delegate</*0*/ T> {
public constructor Delegate</*0*/ T>()
public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean
public final fun getValue(/*0*/ t: kotlin.Any, /*1*/ p: kotlin.PropertyMetadata): T
public final operator fun getValue(/*0*/ t: kotlin.Any, /*1*/ p: kotlin.PropertyMetadata): T
public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int
public final fun setValue(/*0*/ t: kotlin.Any, /*1*/ p: kotlin.PropertyMetadata, /*2*/ varue: T): kotlin.Unit
public final operator fun setValue(/*0*/ t: kotlin.Any, /*1*/ p: kotlin.PropertyMetadata, /*2*/ varue: T): kotlin.Unit
public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String
}