Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -8,6 +8,6 @@ class A {
|
||||
}
|
||||
|
||||
class MyProperty<T> {
|
||||
fun getValue(t: T, p: KProperty<*>): Int = 42
|
||||
fun setValue(t: T, p: KProperty<*>, i: Int) {}
|
||||
operator fun getValue(t: T, p: KProperty<*>): Int = 42
|
||||
operator fun setValue(t: T, p: KProperty<*>, i: Int) {}
|
||||
}
|
||||
|
||||
@@ -9,6 +9,6 @@ public final class A {
|
||||
|
||||
public final class MyProperty</*0*/ T> {
|
||||
/*primary*/ public constructor MyProperty</*0*/ T>()
|
||||
public final fun getValue(/*0*/ t: T, /*1*/ p: kotlin.reflect.KProperty<*>): kotlin.Int
|
||||
public final fun setValue(/*0*/ t: T, /*1*/ p: kotlin.reflect.KProperty<*>, /*2*/ i: kotlin.Int): kotlin.Unit
|
||||
public final operator fun getValue(/*0*/ t: T, /*1*/ p: kotlin.reflect.KProperty<*>): kotlin.Int
|
||||
public final operator fun setValue(/*0*/ t: T, /*1*/ p: kotlin.reflect.KProperty<*>, /*2*/ i: kotlin.Int): kotlin.Unit
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user