[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
@@ -34,7 +34,7 @@ class Test1<E : Any?> : IBase<E> {
(<this>.#<$$delegate_0>, <this>).<set-x></* null */>(<set-?> = <set-?>)
}
local /*final field*/ val <$$delegate_0>: IBase<E>
local /* final field */ val <$$delegate_0>: IBase<E>
}
@@ -68,6 +68,7 @@ class Test2 : IBase<String> {
(<this>.#<$$delegate_0>, <this>).<set-x></* null */>(<set-?> = <set-?>)
}
local /*final field*/ val <$$delegate_0>: IBase<String>
local /* final field */ val <$$delegate_0>: IBase<String>
}
@@ -16,7 +16,7 @@ class Test1<E : Any?> : IBase<E> {
}
private /*final field*/ val $$delegate_0: IBase<E> = i
private /* final field */ val $$delegate_0: IBase<E> = i
override fun <B : Any?> foo(a: E, b: B) {
<this>.#$$delegate_0.foo<B>(a = a, b = b)
}
@@ -48,7 +48,7 @@ class Test2 : IBase<String> {
get
set
private /*final field*/ val $$delegate_0: IBase<String> = j
private /* final field */ val $$delegate_0: IBase<String> = j
override fun <B : Any?> foo(a: String, b: B) {
<this>.#$$delegate_0.foo<B>(a = a, b = b)
}
@@ -97,7 +97,7 @@ class Test1 : IBase {
(<this>.#<$$delegate_0>, <this>).qux()
}
local /*final field*/ val <$$delegate_0>: IBase
local /* final field */ val <$$delegate_0>: IBase
}
@@ -122,7 +122,7 @@ class Test2 : IBase, IOther {
(<this>.#<$$delegate_0>, <this>).qux()
}
local /*final field*/ val <$$delegate_0>: IBase
local /* final field */ val <$$delegate_0>: IBase
override val x: String
override get(): String {
return <this>.#<$$delegate_1>.<get-x>()
@@ -149,6 +149,7 @@ class Test2 : IBase, IOther {
(<this>.#<$$delegate_1>, <this>).<set-z2>(<set-?> = <set-?>)
}
local /*final field*/ val <$$delegate_1>: IOther
local /* final field */ val <$$delegate_1>: IOther
}
@@ -84,7 +84,7 @@ class Test1 : IBase {
}
private /*final field*/ val $$delegate_0: BaseImpl = BaseImpl
private /* final field */ val $$delegate_0: BaseImpl = BaseImpl
override fun bar(): Int {
return <this>.#$$delegate_0.bar()
}
@@ -106,7 +106,7 @@ class Test2 : IBase, IOther {
}
private /*final field*/ val $$delegate_0: BaseImpl = BaseImpl
private /* final field */ val $$delegate_0: BaseImpl = BaseImpl
override fun bar(): Int {
return <this>.#$$delegate_0.bar()
}
@@ -119,7 +119,7 @@ class Test2 : IBase, IOther {
(<this>.#$$delegate_0, <this>).qux()
}
private /*final field*/ val $$delegate_1: IOther = otherImpl(x0 = "", y0 = 42)
private /* final field */ val $$delegate_1: IOther = otherImpl(x0 = "", y0 = 42)
override val Byte.z1: Int
override get(): Int {
return (<this>.#$$delegate_1, <this>).<get-z1>()
@@ -34,6 +34,7 @@ class Test : J {
return <this>.#<$$delegate_0>.returnsFlexible()
}
local /*final field*/ val <$$delegate_0>: J
local /* final field */ val <$$delegate_0>: J
}
@@ -34,6 +34,7 @@ class C : IFooBar {
<this>.#<$$delegate_0>.foo()
}
local /*final field*/ val <$$delegate_0>: IFooBar
local /* final field */ val <$$delegate_0>: IFooBar
}
@@ -26,7 +26,7 @@ class C : IFooBar {
}
private /*final field*/ val $$delegate_0: FooBarImpl = FooBarImpl
private /* final field */ val $$delegate_0: FooBarImpl = FooBarImpl
override fun foo() {
<this>.#$$delegate_0.foo()
}
@@ -59,7 +59,7 @@ class TestJFoo : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /*final field*/ val <$$delegate_0>: IFoo
local /* final field */ val <$$delegate_0>: IFoo
}
@@ -75,7 +75,7 @@ class TestK1 : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /*final field*/ val <$$delegate_0>: IFoo
local /* final field */ val <$$delegate_0>: IFoo
}
@@ -91,7 +91,7 @@ class TestK2 : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /*final field*/ val <$$delegate_0>: IFoo
local /* final field */ val <$$delegate_0>: IFoo
}
@@ -107,7 +107,7 @@ class TestK3 : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /*final field*/ val <$$delegate_0>: IFoo
local /* final field */ val <$$delegate_0>: IFoo
}
@@ -123,6 +123,7 @@ class TestK4 : IFoo {
return <this>.#<$$delegate_0>.foo()
}
local /*final field*/ val <$$delegate_0>: IFoo
local /* final field */ val <$$delegate_0>: IFoo
}
@@ -54,7 +54,7 @@ class TestJFoo : IFoo {
}
private /*final field*/ val $$delegate_0: JFoo = JFoo()
private /* final field */ val $$delegate_0: JFoo = JFoo()
override fun foo(): String {
return <this>.#$$delegate_0.foo() /*!! String */
}
@@ -68,7 +68,7 @@ class TestK1 : IFoo {
}
private /*final field*/ val $$delegate_0: K1 = K1()
private /* final field */ val $$delegate_0: K1 = K1()
override fun foo(): String {
return <this>.#$$delegate_0.foo() /*!! String */
}
@@ -82,7 +82,7 @@ class TestK2 : IFoo {
}
private /*final field*/ val $$delegate_0: K2 = K2()
private /* final field */ val $$delegate_0: K2 = K2()
override fun foo(): String {
return <this>.#$$delegate_0.foo()
}
@@ -96,7 +96,7 @@ class TestK3 : IFoo {
}
private /*final field*/ val $$delegate_0: K3 = K3()
private /* final field */ val $$delegate_0: K3 = K3()
override fun foo(): String {
return <this>.#$$delegate_0.foo()
}
@@ -110,7 +110,7 @@ class TestK4 : IFoo {
}
private /*final field*/ val $$delegate_0: K4 = K4()
private /* final field */ val $$delegate_0: K4 = K4()
override fun foo(): String {
return <this>.#$$delegate_0.foo() /*!! String */
}