[IR] update testdata: better support for IrCall

This commit is contained in:
Zalim Bashorov
2020-11-06 01:14:47 +03:00
committed by teamcityserver
parent ef2adfa835
commit 197f5ca885
72 changed files with 203 additions and 203 deletions
@@ -23,15 +23,15 @@ operator fun String.getValue(receiver: Any?, p: Any): String {
}
val testO: String /* by */
field = provideDelegate($receiver = TODO("IrConstructorCall"), host = null, p = ::testO)
field = TODO("IrConstructorCall").provideDelegate(host = null, p = ::testO)
get(): String {
return getValue($receiver = #testO$delegate, receiver = null, p = ::testO)
return #testO$delegate.getValue(receiver = null, p = ::testO)
}
val testK: String /* by */
field = "K"
get(): String {
return getValue($receiver = #testK$delegate, receiver = null, p = ::testK)
return #testK$delegate.getValue(receiver = null, p = ::testK)
}
val testOK: String
@@ -24,16 +24,16 @@ operator fun String.getValue(receiver: Any?, p: Any): String {
fun box(): String {
val testO: String
val testO$delegate: String = provideDelegate($receiver = TODO("IrConstructorCall"), host = null, p = ::testO)
val testO$delegate: String = TODO("IrConstructorCall").provideDelegate(host = null, p = ::testO)
local get(): String {
return getValue($receiver = testO$delegate, receiver = null, p = ::testO)
return testO$delegate.getValue(receiver = null, p = ::testO)
}
val testK: String
val testK$delegate: String = "K"
local get(): String {
return getValue($receiver = testK$delegate, receiver = null, p = ::testK)
return testK$delegate.getValue(receiver = null, p = ::testK)
}
@@ -30,13 +30,13 @@ object Host {
}
val String.plusK: String /* by */
field = <this>.provideDelegate($receiver = "K", host = <this>, p = ::plusK)
field = (<this>, "K").provideDelegate(host = <this>, p = ::plusK)
get(): String {
return #plusK$delegate.getValue(receiver = <this>, p = ::plusK)
}
val ok: String
field = <this>.<get-plusK>($receiver = "O")
field = (<this>, "O").<get-plusK>()
get