[IR] update testdata: unify printing custom/non-standard modifiers
This commit is contained in:
committed by
teamcityserver
parent
90fdfbde68
commit
69f0f4ef19
+3
-2
@@ -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>()
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
+2
-1
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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()
|
||||
}
|
||||
|
||||
+6
-5
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
+5
-5
@@ -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 */
|
||||
}
|
||||
|
||||
Vendored
+2
-1
@@ -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
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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()
|
||||
|
||||
+2
-1
@@ -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 {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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
@@ -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>()
|
||||
|
||||
+2
-1
@@ -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>
|
||||
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -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)
|
||||
}
|
||||
|
||||
+2
-1
@@ -51,10 +51,11 @@ class Impl : A, B {
|
||||
return <this>.#<$$delegate_0>.<get-size>()
|
||||
}
|
||||
|
||||
local /*final field*/ val <$$delegate_0>: B
|
||||
local /* final field */ val <$$delegate_0>: B
|
||||
|
||||
}
|
||||
|
||||
fun box(): String {
|
||||
return "OK"
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@ class Impl : A, B {
|
||||
|
||||
}
|
||||
|
||||
private /*final field*/ val $$delegate_0: B = b
|
||||
private /* final field */ val $$delegate_0: B = b
|
||||
override fun add(element: @FlexibleNullability String?): Boolean {
|
||||
return <this>.#$$delegate_0.add(element = element)
|
||||
}
|
||||
|
||||
@@ -53,7 +53,7 @@ data class DataClass : Derived, Delegate {
|
||||
<this>.#<$$delegate_0>.bar()
|
||||
}
|
||||
|
||||
local /*final field*/ val <$$delegate_0>: Delegate
|
||||
local /* final field */ val <$$delegate_0>: Delegate
|
||||
override fun equals(other: Any?): Boolean {
|
||||
when {
|
||||
EQEQEQ(arg0 = <this>, arg1 = other) -> return true
|
||||
@@ -77,3 +77,4 @@ data class DataClass : Derived, Delegate {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -31,7 +31,7 @@ class C : J, K {
|
||||
<this>.#<$$delegate_0>.jg2(c = c)
|
||||
}
|
||||
|
||||
local /*final field*/ val <$$delegate_0>: J
|
||||
local /* final field */ val <$$delegate_0>: J
|
||||
override fun kf1(): Collection<out CharSequence> {
|
||||
return <this>.#<$$delegate_1>.kf1()
|
||||
}
|
||||
@@ -48,6 +48,7 @@ class C : J, K {
|
||||
<this>.#<$$delegate_1>.kg2(c = c)
|
||||
}
|
||||
|
||||
local /*final field*/ val <$$delegate_1>: K
|
||||
local /* final field */ val <$$delegate_1>: K
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ class C : J, K {
|
||||
|
||||
}
|
||||
|
||||
private /*final field*/ val $$delegate_0: J = j
|
||||
private /* final field */ val $$delegate_0: J = j
|
||||
override fun jf1(): @FlexibleNullability MutableCollection<out @FlexibleNullability CharSequence?>? {
|
||||
return <this>.#$$delegate_0.jf1()
|
||||
}
|
||||
@@ -30,7 +30,7 @@ class C : J, K {
|
||||
<this>.#$$delegate_0.jg2(c = c)
|
||||
}
|
||||
|
||||
private /*final field*/ val $$delegate_1: K = k
|
||||
private /* final field */ val $$delegate_1: K = k
|
||||
override fun kf1(): Collection<out CharSequence> {
|
||||
return <this>.#$$delegate_1.kf1()
|
||||
}
|
||||
|
||||
@@ -77,6 +77,7 @@ class KRaw : JRaw {
|
||||
return <this>.#<$$delegate_0>.returnsRawGenericOut()
|
||||
}
|
||||
|
||||
local /*final field*/ val <$$delegate_0>: JRaw
|
||||
local /* final field */ val <$$delegate_0>: JRaw
|
||||
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@ class KRaw : JRaw {
|
||||
|
||||
}
|
||||
|
||||
private /*final field*/ val $$delegate_0: JRaw = j
|
||||
private /* final field */ val $$delegate_0: JRaw = j
|
||||
override fun returnsRawGenericIn(): @FlexibleNullability @RawType GenericIn<Number>? {
|
||||
return <this>.#$$delegate_0.returnsRawGenericIn()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user