Minor, add regression test
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
import kotlin.reflect.KProperty
|
||||
|
||||
inline operator fun String.getValue(t:Any?, p: KProperty<*>): String = p.name + this
|
||||
|
||||
object ForceOutOfOrder {
|
||||
fun callInline() = C.inlineFun()
|
||||
}
|
||||
|
||||
object C {
|
||||
inline fun inlineFun() = {
|
||||
val O by "K"
|
||||
O
|
||||
}()
|
||||
}
|
||||
|
||||
fun box(): String = ForceOutOfOrder.callInline()
|
||||
Reference in New Issue
Block a user