blob: fcf08146bf55ec9a04f6b68b61b945757c7cbd25 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
package inline
import kotlin.reflect.KProperty
class Inline {
inline operator fun getValue(receiver: Any?, prop: KProperty<*>): Int {
return 1
}
inline operator fun setValue(receiver: Any?, prop: KProperty<*>, value: Int) {
println(value)
}
}
|