[IR] update testdata: super and receiver for field accesses

This commit is contained in:
Zalim Bashorov
2020-11-10 03:10:13 +03:00
committed by teamcityserver
parent 029ee6f2e7
commit a6b408978f
50 changed files with 294 additions and 294 deletions
@@ -18,20 +18,20 @@ class Test1<E : Any?> : IBase<E> {
private /*final field*/ val $$delegate_0: IBase<E> = i
override fun <B : Any?> foo(a: E, b: B) {
#$$delegate_0.foo<B>(a = a, b = b)
<this>.#$$delegate_0.foo<B>(a = a, b = b)
}
override val <C : Any?> C.id: Map<E, C>?
override get(): Map<E, C>? {
return (#$$delegate_0, <this>).<get-id><C>()
return (<this>.#$$delegate_0, <this>).<get-id><C>()
}
override var <D : Any?> List<D>.x: D?
override get(): D? {
return (#$$delegate_0, <this>).<get-x><D>()
return (<this>.#$$delegate_0, <this>).<get-x><D>()
}
override set(<set-?>: D?) {
(#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
(<this>.#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
}
}
@@ -50,20 +50,20 @@ class Test2 : IBase<String> {
private /*final field*/ val $$delegate_0: IBase<String> = j
override fun <B : Any?> foo(a: String, b: B) {
#$$delegate_0.foo<B>(a = a, b = b)
<this>.#$$delegate_0.foo<B>(a = a, b = b)
}
override val <C : Any?> C.id: Map<String, C>?
override get(): Map<String, C>? {
return (#$$delegate_0, <this>).<get-id><C>()
return (<this>.#$$delegate_0, <this>).<get-id><C>()
}
override var <D : Any?> List<D>.x: D?
override get(): D? {
return (#$$delegate_0, <this>).<get-x><D>()
return (<this>.#$$delegate_0, <this>).<get-x><D>()
}
override set(<set-?>: D?) {
(#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
(<this>.#$$delegate_0, <this>).<set-x><D>(<set-?> = <set-?>)
}
}