[IR] update testdata: unify printing custom/non-standard modifiers

This commit is contained in:
Zalim Bashorov
2020-11-23 23:46:22 +03:00
committed by teamcityserver
parent 90fdfbde68
commit 69f0f4ef19
24 changed files with 53 additions and 40 deletions
@@ -45,6 +45,7 @@ class DFoo : IFoo {
return (<this>.#<$$delegate_0>, <this>).<get-testExtVal>()
}
local /*final field*/ val <$$delegate_0>: IFoo
local /* final field */ val <$$delegate_0>: IFoo
}
@@ -26,7 +26,7 @@ class DFoo : IFoo {
}
private /*final field*/ val $$delegate_0: IFoo = d
private /* final field */ val $$delegate_0: IFoo = d
@Ann
override fun String.testExtFun() {
(<this>.#$$delegate_0, <this>).testExtFun()
@@ -31,7 +31,7 @@ class Delegated : IFoo {
return (<this>.#<$$delegate_0>, <this>).<get-extProp>()
}
local /*final field*/ val <$$delegate_0>: IFoo
local /* final field */ val <$$delegate_0>: IFoo
}
@@ -62,3 +62,4 @@ class ExplicitOverride : IFoo {
}
}
@@ -20,7 +20,7 @@ class Delegated : IFoo {
}
private /*final field*/ val $$delegate_0: IFoo = foo
private /* final field */ val $$delegate_0: IFoo = foo
override val String.extProp: String
override get(): String {
return (<this>.#$$delegate_0, <this>).<get-extProp>()
@@ -19,6 +19,7 @@ class A : I {
return (<this>.#<$$delegate_0>, <this>).<get-id></* null */>()
}
local /*final field*/ val <$$delegate_0>: I
local /* final field */ val <$$delegate_0>: I
}
+1 -1
View File
@@ -13,7 +13,7 @@ class A : I {
}
private /*final field*/ val $$delegate_0: I = i
private /* final field */ val $$delegate_0: I = i
override val <T : Any?> T.id: T
override get(): T {
return (<this>.#$$delegate_0, <this>).<get-id><T>()
@@ -28,6 +28,7 @@ class Test<TT : Any?> : IBase<TT> {
return <this>.#<$$delegate_0>.<get-bar>()
}
local /*final field*/ val <$$delegate_0>: IBase<TT>
local /* final field */ val <$$delegate_0>: IBase<TT>
}
@@ -14,7 +14,7 @@ class Test<TT : Any?> : IBase<TT> {
}
private /*final field*/ val $$delegate_0: IBase<TT> = impl
private /* final field */ val $$delegate_0: IBase<TT> = impl
override fun <X : Any?> qux(t: TT, x: X) {
<this>.#$$delegate_0.qux<X>(t = t, x = x)
}