[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>())
}
@@ -39,7 +39,7 @@ class DelegateProvider {
}
val testTopLevel: String /* by */
field = TODO("IrConstructorCall").provideDelegate(thisRef = null, property = ::testTopLevel)
field = DelegateProvider(value = "OK").provideDelegate(thisRef = null, property = ::testTopLevel)
get(): String {
return #testTopLevel$delegate.getValue(thisRef = null, property = ::testTopLevel)
}