[IR] update testdata: better support for IrConstructorCall

This commit is contained in:
Zalim Bashorov
2020-11-06 01:22:57 +03:00
committed by teamcityserver
parent 197f5ca885
commit 2a19dc32f2
70 changed files with 172 additions and 136 deletions
@@ -30,7 +30,7 @@ class DelegateProvider {
get
operator fun provideDelegate(thisRef: Any?, property: Any?): Delegate {
return TODO("IrConstructorCall")
return Delegate(value = <this>.<get-value>())
}
@@ -46,7 +46,7 @@ class Host {
}
val testMember: String /* by */
field = TODO("IrConstructorCall").provideDelegate(thisRef = <this>, property = ::testMember)
field = DelegateProvider(value = "OK").provideDelegate(thisRef = <this>, property = ::testMember)
get(): String {
return #testMember$delegate.getValue(thisRef = <this>, property = ::testMember)
}