Fix tests: "infix modifier required" and "operator modifier required" errors
This commit is contained in:
@@ -3,7 +3,7 @@ import kotlin.reflect.KProperty
|
||||
class Delegate {
|
||||
}
|
||||
|
||||
fun Delegate.getValue(t: Any?, p: KProperty<*>): Int = 1
|
||||
operator fun Delegate.getValue(t: Any?, p: KProperty<*>): Int = 1
|
||||
|
||||
class A {
|
||||
val prop: Int by Delegate()
|
||||
|
||||
Reference in New Issue
Block a user