[IR] update testdata: better support for IrConstructorCall
This commit is contained in:
committed by
teamcityserver
parent
197f5ca885
commit
2a19dc32f2
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user