diff --git a/compiler/testData/ir/irText/classes/abstractMembers.kt.txt b/compiler/testData/ir/irText/classes/abstractMembers.kt.txt index 143d28ef1ab..27b5b6c4a34 100644 --- a/compiler/testData/ir/irText/classes/abstractMembers.kt.txt +++ b/compiler/testData/ir/irText/classes/abstractMembers.kt.txt @@ -13,9 +13,6 @@ abstract class AbstractClass { abstract get abstract set - - - } interface Interface { @@ -27,8 +24,5 @@ interface Interface { abstract get abstract set - - - } diff --git a/compiler/testData/ir/irText/classes/annotationClasses.kt.txt b/compiler/testData/ir/irText/classes/annotationClasses.kt.txt index bbf1dc063fe..a9ac442c399 100644 --- a/compiler/testData/ir/irText/classes/annotationClasses.kt.txt +++ b/compiler/testData/ir/irText/classes/annotationClasses.kt.txt @@ -4,9 +4,6 @@ annotation class Test1 : Annotation { field = x get - - - } annotation class Test2 : Annotation { @@ -15,9 +12,6 @@ annotation class Test2 : Annotation { field = x get - - - } annotation class Test3 : Annotation { @@ -26,9 +20,6 @@ annotation class Test3 : Annotation { field = x get - - - } annotation class Test4 : Annotation { @@ -37,8 +28,5 @@ annotation class Test4 : Annotation { field = xs get - - - } diff --git a/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt b/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt index 74eba17f982..efcaa40dc09 100644 --- a/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/classes/argumentReorderingInDelegatingConstructorCall.kt.txt @@ -13,9 +13,6 @@ open class Base { field = y get - - - } class Test1 : Base { @@ -27,9 +24,6 @@ class Test1 : Base { } - - - } class Test2 : Base { @@ -47,8 +41,5 @@ class Test2 : Base { } } - - - } diff --git a/compiler/testData/ir/irText/classes/classMembers.kt.txt b/compiler/testData/ir/irText/classes/classMembers.kt.txt index a482088386c..d3b527f9bd1 100644 --- a/compiler/testData/ir/irText/classes/classMembers.kt.txt +++ b/compiler/testData/ir/irText/classes/classMembers.kt.txt @@ -58,9 +58,6 @@ class C { println(message = "4") } - - - } interface NestedInterface { @@ -69,9 +66,6 @@ class C { return .foo() } - - - } companion object Companion { @@ -81,13 +75,7 @@ class C { } - - - } - - - } diff --git a/compiler/testData/ir/irText/classes/classes.kt.txt b/compiler/testData/ir/irText/classes/classes.kt.txt index 414581b0b90..e1e793454e9 100644 --- a/compiler/testData/ir/irText/classes/classes.kt.txt +++ b/compiler/testData/ir/irText/classes/classes.kt.txt @@ -5,15 +5,10 @@ class TestClass { } - - - } interface TestInterface { - - } object TestObject { @@ -23,16 +18,11 @@ object TestObject { } - - - } annotation class TestAnnotationClass : Annotation { constructor() /* primary */ - - } enum class TestEnumClass : Enum { @@ -42,13 +32,6 @@ enum class TestEnumClass : Enum { } - - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnumClass /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/classes/cloneable.kt.txt b/compiler/testData/ir/irText/classes/cloneable.kt.txt index 101ed36605e..54414875278 100644 --- a/compiler/testData/ir/irText/classes/cloneable.kt.txt +++ b/compiler/testData/ir/irText/classes/cloneable.kt.txt @@ -5,17 +5,10 @@ class A : Cloneable { } - - - - } interface I : Cloneable { - - - } class C : I { @@ -25,10 +18,6 @@ class C : I { } - - - - } class OC : I { @@ -42,8 +31,5 @@ class OC : I { return OC() } - - - } diff --git a/compiler/testData/ir/irText/classes/companionObject.kt.txt b/compiler/testData/ir/irText/classes/companionObject.kt.txt index 47159f84152..d98863848f0 100644 --- a/compiler/testData/ir/irText/classes/companionObject.kt.txt +++ b/compiler/testData/ir/irText/classes/companionObject.kt.txt @@ -12,14 +12,8 @@ class Test1 { } - - - } - - - } class Test2 { @@ -36,13 +30,7 @@ class Test2 { } - - - } - - - } diff --git a/compiler/testData/ir/irText/classes/delegatedGenericImplementation.kt.txt b/compiler/testData/ir/irText/classes/delegatedGenericImplementation.kt.txt index 9dd35f4c4ee..a69d0ad3620 100644 --- a/compiler/testData/ir/irText/classes/delegatedGenericImplementation.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatedGenericImplementation.kt.txt @@ -7,9 +7,6 @@ interface IBase { abstract get abstract set - - - } class Test1 : IBase { @@ -37,9 +34,6 @@ class Test1 : IBase { (#$$delegate_0, ).( = ) } - - - } class Test2 : IBase { @@ -72,8 +66,5 @@ class Test2 : IBase { (#$$delegate_0, ).( = ) } - - - } diff --git a/compiler/testData/ir/irText/classes/delegatedImplementation.kt.txt b/compiler/testData/ir/irText/classes/delegatedImplementation.kt.txt index 64aa130d592..eb5f33ee9e0 100644 --- a/compiler/testData/ir/irText/classes/delegatedImplementation.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatedImplementation.kt.txt @@ -3,8 +3,6 @@ interface IBase { abstract fun bar(): Int abstract fun String.qux() - - } object BaseImpl : IBase { @@ -24,9 +22,6 @@ object BaseImpl : IBase { override fun String.qux() { } - - - } interface IOther { @@ -44,9 +39,6 @@ interface IOther { abstract get abstract set - - - } fun otherImpl(x0: String, y0: Int): IOther { @@ -79,12 +71,8 @@ fun otherImpl(x0: String, y0: Int): IOther { override set(value: Int) { } - - - } - () } } @@ -109,9 +97,6 @@ class Test1 : IBase { (#$$delegate_0, ).qux() } - - - } class Test2 : IBase, IOther { @@ -161,8 +146,5 @@ class Test2 : IBase, IOther { #$$delegate_1.( = ) } - - - } diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.kt.txt b/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.kt.txt index 14ec7f7f664..e3903ec27f5 100644 --- a/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatedImplementationOfJavaInterface.kt.txt @@ -35,8 +35,5 @@ class Test : J { #j.takeNullable(x = x) } - - - } diff --git a/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt b/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt index ce63aa83b35..8f49add819e 100644 --- a/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatedImplementationWithExplicitOverride.kt.txt @@ -2,8 +2,6 @@ interface IFooBar { abstract fun foo() abstract fun bar() - - } object FooBarImpl : IFooBar { @@ -19,9 +17,6 @@ object FooBarImpl : IFooBar { override fun bar() { } - - - } class C : IFooBar { @@ -39,8 +34,5 @@ class C : IFooBar { override fun bar() { } - - - } diff --git a/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.kt.txt b/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.kt.txt index c4b1ef7e9cd..e22727b3a35 100644 --- a/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatingConstructorCallToTypeAliasConstructor.kt.txt @@ -9,9 +9,6 @@ open class Cell { field = value get - - - } typealias CT = Cell @@ -23,9 +20,6 @@ class C1 : Cell { } - - - } class C2 : Cell { @@ -35,8 +29,5 @@ class C2 : Cell { } - - - } diff --git a/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.kt.txt b/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.kt.txt index 1057ab5bf15..0283ae6dc8b 100644 --- a/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.kt.txt +++ b/compiler/testData/ir/irText/classes/delegatingConstructorCallsInSecondaryConstructors.kt.txt @@ -5,9 +5,6 @@ open class Base { } - - - } class Test : Base { @@ -27,8 +24,5 @@ class Test : Base { this/*Test*/() } - - - } diff --git a/compiler/testData/ir/irText/classes/enum.kt.txt b/compiler/testData/ir/irText/classes/enum.kt.txt index 6ad8f99f218..b8ac6ed26ab 100644 --- a/compiler/testData/ir/irText/classes/enum.kt.txt +++ b/compiler/testData/ir/irText/classes/enum.kt.txt @@ -7,11 +7,6 @@ enum class TestEnum1 : Enum { TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnum1 /* Synthetic body for ENUM_VALUEOF */ @@ -31,11 +26,6 @@ enum class TestEnum2 : Enum { TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") TEST3 init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnum2 /* Synthetic body for ENUM_VALUEOF */ @@ -51,12 +41,6 @@ abstract enum class TestEnum3 : Enum { TEST init = TODO("IrEnumConstructorCall") abstract fun foo() - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnum3 /* Synthetic body for ENUM_VALUEOF */ @@ -76,12 +60,6 @@ abstract enum class TestEnum4 : Enum { TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") abstract fun foo() - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnum4 /* Synthetic body for ENUM_VALUEOF */ @@ -101,11 +79,6 @@ enum class TestEnum5 : Enum { TEST1 init = TODO("IrEnumConstructorCall") TEST2 init = TODO("IrEnumConstructorCall") TEST3 init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnum5 /* Synthetic body for ENUM_VALUEOF */ @@ -137,11 +110,6 @@ enum class TestEnum6 : Enum { TODO("IrEnumConstructorCall") } - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnum6 /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/classes/enumClassModality.kt.txt b/compiler/testData/ir/irText/classes/enumClassModality.kt.txt index c31de7f8af7..4443fe2d8a7 100644 --- a/compiler/testData/ir/irText/classes/enumClassModality.kt.txt +++ b/compiler/testData/ir/irText/classes/enumClassModality.kt.txt @@ -7,11 +7,6 @@ enum class TestFinalEnum1 : Enum { X1 init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestFinalEnum1 /* Synthetic body for ENUM_VALUEOF */ @@ -31,11 +26,6 @@ enum class TestFinalEnum2 : Enum { X1 init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestFinalEnum2 /* Synthetic body for ENUM_VALUEOF */ @@ -52,13 +42,6 @@ enum class TestFinalEnum3 : Enum { X1 init = TODO("IrEnumConstructorCall") fun doStuff() { } - - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestFinalEnum3 /* Synthetic body for ENUM_VALUEOF */ @@ -74,11 +57,6 @@ open enum class TestOpenEnum1 : Enum { X1 init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestOpenEnum1 /* Synthetic body for ENUM_VALUEOF */ @@ -95,13 +73,6 @@ open enum class TestOpenEnum2 : Enum { X1 init = TODO("IrEnumConstructorCall") open fun foo() { } - - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestOpenEnum2 /* Synthetic body for ENUM_VALUEOF */ @@ -117,12 +88,6 @@ abstract enum class TestAbstractEnum1 : Enum { X1 init = TODO("IrEnumConstructorCall") abstract fun foo() - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestAbstractEnum1 /* Synthetic body for ENUM_VALUEOF */ @@ -132,8 +97,6 @@ abstract enum class TestAbstractEnum1 : Enum { interface IFoo { abstract fun foo() - - } abstract enum class TestAbstractEnum2 : Enum, IFoo { @@ -145,12 +108,6 @@ abstract enum class TestAbstractEnum2 : Enum, IFoo { X1 init = TODO("IrEnumConstructorCall") - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestAbstractEnum2 /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt.txt b/compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt.txt index 8ff9f27cbd6..fc478384828 100644 --- a/compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt.txt +++ b/compiler/testData/ir/irText/classes/enumWithMultipleCtors.kt.txt @@ -39,13 +39,6 @@ open enum class A : Enum { .() } - - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): A /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.kt.txt b/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.kt.txt index ce710eeb909..995c4521e02 100644 --- a/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.kt.txt +++ b/compiler/testData/ir/irText/classes/enumWithSecondaryCtor.kt.txt @@ -13,13 +13,6 @@ enum class Test0 : Enum { this/*Test0*/(x = 0) } - - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): Test0 /* Synthetic body for ENUM_VALUEOF */ @@ -41,13 +34,6 @@ enum class Test1 : Enum { this/*Test1*/(x = 0) } - - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): Test1 /* Synthetic body for ENUM_VALUEOF */ @@ -71,12 +57,6 @@ abstract enum class Test2 : Enum { abstract fun foo() - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): Test2 /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.kt.txt b/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.kt.txt index ab8cc7321a6..b25c8fe0aee 100644 --- a/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.kt.txt +++ b/compiler/testData/ir/irText/classes/fakeOverridesForJavaStaticMembers.kt.txt @@ -5,10 +5,5 @@ class Test : Base { } - - - - - } diff --git a/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.kt.txt b/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.kt.txt index 3d8c0f3e0f3..b006064a36c 100644 --- a/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.kt.txt +++ b/compiler/testData/ir/irText/classes/implicitNotNullOnDelegatedImplementation.kt.txt @@ -1,8 +1,6 @@ interface IFoo { abstract fun foo(): String - - } class K1 : JFoo { @@ -12,10 +10,6 @@ class K1 : JFoo { } - - - - } class K2 : JFoo { @@ -29,9 +23,6 @@ class K2 : JFoo { return super.foo() /*!! String */ } - - - } class K3 : JUnrelatedFoo, IFoo { @@ -41,10 +32,6 @@ class K3 : JUnrelatedFoo, IFoo { } - - - - } class K4 : JUnrelatedFoo, IFoo { @@ -58,9 +45,6 @@ class K4 : JUnrelatedFoo, IFoo { return super.foo() } - - - } class TestJFoo : IFoo { @@ -75,9 +59,6 @@ class TestJFoo : IFoo { return #$$delegate_0.foo() /*!! String */ } - - - } class TestK1 : IFoo { @@ -92,9 +73,6 @@ class TestK1 : IFoo { return #$$delegate_0.foo() /*!! String */ } - - - } class TestK2 : IFoo { @@ -109,9 +87,6 @@ class TestK2 : IFoo { return #$$delegate_0.foo() } - - - } class TestK3 : IFoo { @@ -126,9 +101,6 @@ class TestK3 : IFoo { return #$$delegate_0.foo() } - - - } class TestK4 : IFoo { @@ -143,8 +115,5 @@ class TestK4 : IFoo { return #$$delegate_0.foo() /*!! String */ } - - - } diff --git a/compiler/testData/ir/irText/classes/initBlock.kt.txt b/compiler/testData/ir/irText/classes/initBlock.kt.txt index 89e6a0e7940..6163ec91fff 100644 --- a/compiler/testData/ir/irText/classes/initBlock.kt.txt +++ b/compiler/testData/ir/irText/classes/initBlock.kt.txt @@ -9,9 +9,6 @@ class Test1 { println() } - - - } class Test2 { @@ -29,9 +26,6 @@ class Test2 { println() } - - - } class Test3 { @@ -45,9 +39,6 @@ class Test3 { } - - - } class Test4 { @@ -65,9 +56,6 @@ class Test4 { println(message = "2") } - - - } class Test5 { @@ -92,13 +80,7 @@ class Test5 { println(message = "2") } - - - } - - - } diff --git a/compiler/testData/ir/irText/classes/initVal.kt.txt b/compiler/testData/ir/irText/classes/initVal.kt.txt index 3b3524247c2..4b3f935070a 100644 --- a/compiler/testData/ir/irText/classes/initVal.kt.txt +++ b/compiler/testData/ir/irText/classes/initVal.kt.txt @@ -9,9 +9,6 @@ class TestInitValFromParameter { field = x get - - - } class TestInitValInClass { @@ -25,9 +22,6 @@ class TestInitValInClass { field = 0 get - - - } class TestInitValInInitBlock { @@ -44,8 +38,5 @@ class TestInitValInInitBlock { #x = 0 } - - - } diff --git a/compiler/testData/ir/irText/classes/initValInLambda.kt.txt b/compiler/testData/ir/irText/classes/initValInLambda.kt.txt index 5da9fc2ba4d..204bcdda7aa 100644 --- a/compiler/testData/ir/irText/classes/initValInLambda.kt.txt +++ b/compiler/testData/ir/irText/classes/initValInLambda.kt.txt @@ -15,8 +15,5 @@ class TestInitValInLambdaCalledOnce { ) } - - - } diff --git a/compiler/testData/ir/irText/classes/initVar.kt.txt b/compiler/testData/ir/irText/classes/initVar.kt.txt index cfc31ea7e0a..3233525aa99 100644 --- a/compiler/testData/ir/irText/classes/initVar.kt.txt +++ b/compiler/testData/ir/irText/classes/initVar.kt.txt @@ -10,9 +10,6 @@ class TestInitVarFromParameter { get set - - - } class TestInitVarInClass { @@ -27,9 +24,6 @@ class TestInitVarInClass { get set - - - } class TestInitVarInInitBlock { @@ -47,9 +41,6 @@ class TestInitVarInInitBlock { .( = 0) } - - - } class TestInitVarWithCustomSetter { @@ -66,9 +57,6 @@ class TestInitVarWithCustomSetter { #x = value } - - - } class TestInitVarWithCustomSetterWithExplicitCtor { @@ -88,9 +76,6 @@ class TestInitVarWithCustomSetterWithExplicitCtor { } - - - } class TestInitVarWithCustomSetterInCtor { @@ -107,8 +92,5 @@ class TestInitVarWithCustomSetterInCtor { .(value = 42) } - - - } diff --git a/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.kt.txt b/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.kt.txt index 6ee796d0517..2f95546e087 100644 --- a/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.kt.txt +++ b/compiler/testData/ir/irText/classes/inlineClassSyntheticMethods.kt.txt @@ -13,8 +13,6 @@ class C { return .() as Int } - - } inline class IC { diff --git a/compiler/testData/ir/irText/classes/innerClass.kt.txt b/compiler/testData/ir/irText/classes/innerClass.kt.txt index 41fa593fcf0..e766ce646a8 100644 --- a/compiler/testData/ir/irText/classes/innerClass.kt.txt +++ b/compiler/testData/ir/irText/classes/innerClass.kt.txt @@ -12,9 +12,6 @@ class Outer { } - - - } inner class DerivedInnerClass : TestInnerClass { @@ -24,13 +21,7 @@ class Outer { } - - - } - - - } diff --git a/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt.txt b/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt.txt index 835e3cbd4bf..49ca52b3f0a 100644 --- a/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt.txt +++ b/compiler/testData/ir/irText/classes/innerClassWithDelegatingConstructor.kt.txt @@ -20,13 +20,7 @@ class Outer { .this/*Inner*/(x = 0) } - - - } - - - } diff --git a/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt.txt b/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt.txt index 1018cf3264a..ab68f45edbd 100644 --- a/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt.txt +++ b/compiler/testData/ir/irText/classes/lambdaInDataClassDefaultParameter.kt.txt @@ -56,12 +56,8 @@ data class B { } - - - } - () }) /* primary */ { super/*Any*/() diff --git a/compiler/testData/ir/irText/classes/localClasses.kt.txt b/compiler/testData/ir/irText/classes/localClasses.kt.txt index 79d3da43b61..c1f5c521051 100644 --- a/compiler/testData/ir/irText/classes/localClasses.kt.txt +++ b/compiler/testData/ir/irText/classes/localClasses.kt.txt @@ -9,12 +9,8 @@ fun outer() { fun foo() { } - - - } - LocalClass().foo() } diff --git a/compiler/testData/ir/irText/classes/objectLiteralExpressions.kt.txt b/compiler/testData/ir/irText/classes/objectLiteralExpressions.kt.txt index 88562d2df7c..8a44e6a8ce3 100644 --- a/compiler/testData/ir/irText/classes/objectLiteralExpressions.kt.txt +++ b/compiler/testData/ir/irText/classes/objectLiteralExpressions.kt.txt @@ -1,8 +1,6 @@ interface IFoo { abstract fun foo() - - } val test1: Any @@ -14,12 +12,8 @@ val test1: Any } - - - } - () } get @@ -37,12 +31,8 @@ val test2: IFoo println(message = "foo") } - - - } - () } get @@ -61,10 +51,6 @@ class Outer { } - - - - } fun test3(): Inner { @@ -80,19 +66,12 @@ class Outer { println(message = "foo") } - - - } - () } } - - - } fun Outer.test4(): Inner { @@ -108,12 +87,8 @@ fun Outer.test4(): Inner { println(message = "foo") } - - - } - () } } diff --git a/compiler/testData/ir/irText/classes/objectWithInitializers.kt.txt b/compiler/testData/ir/irText/classes/objectWithInitializers.kt.txt index 024c0a9c4a9..f17d0654ee9 100644 --- a/compiler/testData/ir/irText/classes/objectWithInitializers.kt.txt +++ b/compiler/testData/ir/irText/classes/objectWithInitializers.kt.txt @@ -5,9 +5,6 @@ abstract class Base { } - - - } object Test : Base { @@ -28,8 +25,5 @@ object Test : Base { #y = .() } - - - } diff --git a/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt b/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt index 624311b5246..bcf17a607a9 100644 --- a/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt +++ b/compiler/testData/ir/irText/classes/outerClassAccess.kt.txt @@ -35,18 +35,9 @@ class Outer { .foo() } - - - } - - - } - - - } diff --git a/compiler/testData/ir/irText/classes/primaryConstructor.kt.txt b/compiler/testData/ir/irText/classes/primaryConstructor.kt.txt index 473c5f08f63..17c007334ee 100644 --- a/compiler/testData/ir/irText/classes/primaryConstructor.kt.txt +++ b/compiler/testData/ir/irText/classes/primaryConstructor.kt.txt @@ -13,9 +13,6 @@ class Test1 { field = y get - - - } class Test2 { @@ -33,9 +30,6 @@ class Test2 { field = x get - - - } class Test3 { @@ -56,8 +50,5 @@ class Test3 { #x = x } - - - } diff --git a/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt.txt b/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt.txt index 2d0f2815013..b2b8e87b6bf 100644 --- a/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/classes/primaryConstructorWithSuperConstructorCall.kt.txt @@ -5,9 +5,6 @@ open class Base { } - - - } class TestImplicitPrimaryConstructor : Base { @@ -17,9 +14,6 @@ class TestImplicitPrimaryConstructor : Base { } - - - } class TestExplicitPrimaryConstructor : Base { @@ -29,9 +23,6 @@ class TestExplicitPrimaryConstructor : Base { } - - - } class TestWithDelegatingConstructor : Base { @@ -53,8 +44,5 @@ class TestWithDelegatingConstructor : Base { this/*TestWithDelegatingConstructor*/(x = x, y = 0) } - - - } diff --git a/compiler/testData/ir/irText/classes/qualifiedSuperCalls.kt.txt b/compiler/testData/ir/irText/classes/qualifiedSuperCalls.kt.txt index 66a4d4e8f02..70c147ecab9 100644 --- a/compiler/testData/ir/irText/classes/qualifiedSuperCalls.kt.txt +++ b/compiler/testData/ir/irText/classes/qualifiedSuperCalls.kt.txt @@ -7,9 +7,6 @@ interface ILeft { return 1 } - - - } interface IRight { @@ -21,9 +18,6 @@ interface IRight { return 2 } - - - } class CBoth : ILeft, IRight { @@ -43,8 +37,5 @@ class CBoth : ILeft, IRight { return super.().plus(other = super.()) } - - - } diff --git a/compiler/testData/ir/irText/classes/sealedClasses.kt.txt b/compiler/testData/ir/irText/classes/sealedClasses.kt.txt index 7fef692aa0d..118d203db34 100644 --- a/compiler/testData/ir/irText/classes/sealedClasses.kt.txt +++ b/compiler/testData/ir/irText/classes/sealedClasses.kt.txt @@ -16,9 +16,6 @@ sealed class Expr { field = number get - - - } class Sum : Expr { @@ -36,9 +33,6 @@ sealed class Expr { field = e2 get - - - } object NotANumber : Expr { @@ -48,13 +42,7 @@ sealed class Expr { } - - - } - - - } diff --git a/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt b/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt index a4aec4ddbbf..b3b9e2c55da 100644 --- a/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt +++ b/compiler/testData/ir/irText/classes/secondaryConstructorWithInitializersFromClassBody.kt.txt @@ -5,9 +5,6 @@ open class Base { } - - - } class TestProperty : Base { @@ -21,9 +18,6 @@ class TestProperty : Base { } - - - } class TestInitBlock : Base { @@ -50,8 +44,5 @@ class TestInitBlock : Base { this/*TestInitBlock*/() } - - - } diff --git a/compiler/testData/ir/irText/classes/secondaryConstructors.kt.txt b/compiler/testData/ir/irText/classes/secondaryConstructors.kt.txt index bc131aea7f1..c267adaeb30 100644 --- a/compiler/testData/ir/irText/classes/secondaryConstructors.kt.txt +++ b/compiler/testData/ir/irText/classes/secondaryConstructors.kt.txt @@ -9,8 +9,5 @@ class C { } - - - } diff --git a/compiler/testData/ir/irText/classes/superCalls.kt.txt b/compiler/testData/ir/irText/classes/superCalls.kt.txt index 5c2934f53dc..93cf125f348 100644 --- a/compiler/testData/ir/irText/classes/superCalls.kt.txt +++ b/compiler/testData/ir/irText/classes/superCalls.kt.txt @@ -16,8 +16,6 @@ open class Base { return super.hashCode() } - - } class Derived : Base { @@ -36,8 +34,5 @@ class Derived : Base { return super.() } - - - } diff --git a/compiler/testData/ir/irText/classes/superCallsComposed.kt.txt b/compiler/testData/ir/irText/classes/superCallsComposed.kt.txt index 18360a4f0e2..471013b28f6 100644 --- a/compiler/testData/ir/irText/classes/superCallsComposed.kt.txt +++ b/compiler/testData/ir/irText/classes/superCallsComposed.kt.txt @@ -12,9 +12,6 @@ open class Base { field = "" open get - - - } interface BaseI { @@ -22,9 +19,6 @@ interface BaseI { abstract val bar: String abstract get - - - } class Derived : Base, BaseI { @@ -43,8 +37,5 @@ class Derived : Base, BaseI { return super.() } - - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.kt.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.kt.txt index 2f363923fe6..f680f764500 100644 --- a/compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/annotationsInAnnotationArguments.kt.txt @@ -4,9 +4,6 @@ annotation class A1 : Annotation { field = x get - - - } annotation class A2 : Annotation { @@ -15,9 +12,6 @@ annotation class A2 : Annotation { field = a get - - - } annotation class AA : Annotation { @@ -26,9 +20,6 @@ annotation class AA : Annotation { field = xs get - - - } @A2(a = A1(x = 42)) diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.kt.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.kt.txt index f10f901fb22..6a73fe8de59 100644 --- a/compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/annotationsOnDelegatedMembers.kt.txt @@ -1,8 +1,6 @@ annotation class Ann : Annotation { constructor() /* primary */ - - } interface IFoo { @@ -19,8 +17,6 @@ interface IFoo { @Ann abstract fun String.testExtFun() - - } class DFoo : IFoo { @@ -51,8 +47,5 @@ class DFoo : IFoo { return #$$delegate_0.() } - - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.kt.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.kt.txt index 00f1bbc1501..01f26c9f37c 100644 --- a/compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/annotationsWithDefaultParameterValues.kt.txt @@ -8,9 +8,6 @@ annotation class A : Annotation { field = y get - - - } @A(x = "abc", y = 123) diff --git a/compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.kt.txt b/compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.kt.txt index 8097e7ff61d..dfe32782f06 100644 --- a/compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/annotationsWithVarargParameters.kt.txt @@ -4,9 +4,6 @@ annotation class A : Annotation { field = xs get - - - } @A(xs = ["abc", "def"]) diff --git a/compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.kt.txt b/compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.kt.txt index 3c178b9482e..08457e535cb 100644 --- a/compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/arrayInAnnotationArguments.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnnWithIntArray : Annotation { field = x get - - - } annotation class TestAnnWithStringArray : Annotation { @@ -15,9 +12,6 @@ annotation class TestAnnWithStringArray : Annotation { field = x get - - - } @TestAnnWithIntArray(x = [1, 2, 3]) diff --git a/compiler/testData/ir/irText/declarations/annotations/classLiteralInAnnotation.kt.txt b/compiler/testData/ir/irText/declarations/annotations/classLiteralInAnnotation.kt.txt index 9a13f6b2db9..7ff0acf5306 100644 --- a/compiler/testData/ir/irText/declarations/annotations/classLiteralInAnnotation.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/classLiteralInAnnotation.kt.txt @@ -4,9 +4,6 @@ annotation class A : Annotation { field = klass get - - - } class C { @@ -16,9 +13,6 @@ class C { } - - - } @A(klass = C::class) diff --git a/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.kt.txt index a928df16e3d..534e06beef1 100644 --- a/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/classesWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } @TestAnn(x = "class") @@ -17,16 +14,11 @@ class TestClass { } - - - } @TestAnn(x = "interface") interface TestInterface { - - } @TestAnn(x = "object") @@ -37,9 +29,6 @@ object TestObject { } - - - } class Host { @@ -57,14 +46,8 @@ class Host { } - - - } - - - } @TestAnn(x = "enum") @@ -75,13 +58,6 @@ enum class TestEnum : Enum { } - - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */ @@ -92,7 +68,5 @@ enum class TestEnum : Enum { annotation class TestAnnotation : Annotation { constructor() /* primary */ - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.kt.txt b/compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.kt.txt index c88bd0dff4f..f5501498df1 100644 --- a/compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/constExpressionsInAnnotationArguments.kt.txt @@ -8,9 +8,6 @@ annotation class A : Annotation { field = x get - - - } @A(x = 1) diff --git a/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.kt.txt index 0a8c870d2a1..506df0bf49d 100644 --- a/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/constructorsWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } class TestClass { @@ -22,8 +19,5 @@ class TestClass { this/*TestClass*/() } - - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/delegateFieldWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/delegateFieldWithAnnotations.kt.txt index 0c8de284486..b7e8fcf366d 100644 --- a/compiler/testData/ir/irText/declarations/annotations/delegateFieldWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/delegateFieldWithAnnotations.kt.txt @@ -1,8 +1,6 @@ annotation class Ann : Annotation { constructor() /* primary */ - - } val test1: Int /* by */ diff --git a/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.kt.txt index be0971eb8e8..357f2ac0469 100644 --- a/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/delegatedPropertyAccessorsWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class A : Annotation { field = x get - - - } class Cell { @@ -29,9 +26,6 @@ class Cell { .( = newValue) } - - - } val test1: Int /* by */ diff --git a/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.kt.txt index 638abe752af..02edbb448d9 100644 --- a/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/enumEntriesWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } open enum class TestEnum : Enum { @@ -20,11 +17,6 @@ open enum class TestEnum : Enum { ENTRY1 init = TODO("IrEnumConstructorCall") @TestAnn(x = "ENTRY2") ENTRY2 init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): TestEnum /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.kt.txt b/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.kt.txt index cfc72b1db32..d65b4df9e6d 100644 --- a/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/enumsInAnnotationArguments.kt.txt @@ -7,11 +7,6 @@ enum class En : Enum { A init = TODO("IrEnumConstructorCall") B init = TODO("IrEnumConstructorCall") C init = TODO("IrEnumConstructorCall") D init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */ @@ -24,9 +19,6 @@ annotation class TestAnn : Annotation { field = x get - - - } @TestAnn(x = En) diff --git a/compiler/testData/ir/irText/declarations/annotations/fieldsWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/fieldsWithAnnotations.kt.txt index 71c9a5e261f..278bf188595 100644 --- a/compiler/testData/ir/irText/declarations/annotations/fieldsWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/fieldsWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } val testVal: String diff --git a/compiler/testData/ir/irText/declarations/annotations/fileAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/fileAnnotations.kt.txt index 2a5dc1df86b..5e2e386d819 100644 --- a/compiler/testData/ir/irText/declarations/annotations/fileAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/fileAnnotations.kt.txt @@ -8,8 +8,5 @@ annotation class A : Annotation { field = x get - - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/functionsWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/functionsWithAnnotations.kt.txt index 21ea5ae1e19..529a3f973e2 100644 --- a/compiler/testData/ir/irText/declarations/annotations/functionsWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/functionsWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } @TestAnn(x = 42) diff --git a/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.kt.txt index e658174a19c..8c127cd8d0b 100644 --- a/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/localDelegatedPropertiesWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class A : Annotation { field = x get - - - } fun foo(m: Map) { @@ -20,6 +17,5 @@ fun foo(m: Map) { return test$delegate.getValue(thisRef = null, property = ::test) } - } diff --git a/compiler/testData/ir/irText/declarations/annotations/multipleAnnotationsInSquareBrackets.kt.txt b/compiler/testData/ir/irText/declarations/annotations/multipleAnnotationsInSquareBrackets.kt.txt index 1f9fe854869..6c0bec81547 100644 --- a/compiler/testData/ir/irText/declarations/annotations/multipleAnnotationsInSquareBrackets.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/multipleAnnotationsInSquareBrackets.kt.txt @@ -1,22 +1,16 @@ annotation class A1 : Annotation { constructor() /* primary */ - - } annotation class A2 : Annotation { constructor() /* primary */ - - } annotation class A3 : Annotation { constructor() /* primary */ - - } @A1 diff --git a/compiler/testData/ir/irText/declarations/annotations/primaryConstructorParameterWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/primaryConstructorParameterWithAnnotations.kt.txt index 5dd5f482f40..3151a9e8a65 100644 --- a/compiler/testData/ir/irText/declarations/annotations/primaryConstructorParameterWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/primaryConstructorParameterWithAnnotations.kt.txt @@ -1,8 +1,6 @@ annotation class Ann : Annotation { constructor() /* primary */ - - } class Test { @@ -16,8 +14,5 @@ class Test { field = x get - - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/propertiesWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/propertiesWithAnnotations.kt.txt index edf356c30d0..e9e9b8d906e 100644 --- a/compiler/testData/ir/irText/declarations/annotations/propertiesWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/propertiesWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } @TestAnn(x = "testVal.property") diff --git a/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.kt.txt index 437cf04b1bc..0235470af25 100644 --- a/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsFromClassHeaderWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class A : Annotation { field = x get - - - } class C { @@ -28,8 +25,5 @@ class C { @A(x = "C.y.set") set - - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsWithAnnotations.kt.txt index a5b4a7a3705..1a6bd5bda32 100644 --- a/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/propertyAccessorsWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } val test1: String diff --git a/compiler/testData/ir/irText/declarations/annotations/propertySetterParameterWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/propertySetterParameterWithAnnotations.kt.txt index 57e56d9ae1c..454dd388aac 100644 --- a/compiler/testData/ir/irText/declarations/annotations/propertySetterParameterWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/propertySetterParameterWithAnnotations.kt.txt @@ -1,8 +1,6 @@ annotation class AnnParam : Annotation { constructor() /* primary */ - - } var p: Int @@ -22,8 +20,5 @@ class C { get set - - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.kt.txt index b97ddc482ae..71c6e613a39 100644 --- a/compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/receiverParameterWithAnnotations.kt.txt @@ -1,8 +1,6 @@ annotation class Ann : Annotation { constructor() /* primary */ - - } class A { @@ -21,9 +19,6 @@ class A { return "" } - - - } fun String?.topLevelF(): String { diff --git a/compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.kt.txt b/compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.kt.txt index ab258cd7824..acb5cbbf55f 100644 --- a/compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/spreadOperatorInAnnotationArguments.kt.txt @@ -4,9 +4,6 @@ annotation class A : Annotation { field = xs get - - - } @A(xs = [["a"], ["b"]]) diff --git a/compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.kt.txt index a1968539cec..166490a4b6d 100644 --- a/compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/typeAliasesWithAnnotations.kt.txt @@ -5,9 +5,6 @@ annotation class TestAnn : Annotation { field = x get - - - } @TestAnn(x = "TestTypeAlias") diff --git a/compiler/testData/ir/irText/declarations/annotations/typeParametersWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/typeParametersWithAnnotations.kt.txt index 1434b0cc418..e69304f97f9 100644 --- a/compiler/testData/ir/irText/declarations/annotations/typeParametersWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/typeParametersWithAnnotations.kt.txt @@ -2,8 +2,6 @@ annotation class Anno : Annotation { constructor() /* primary */ - - } fun <@Anno T : Any?> foo() { diff --git a/compiler/testData/ir/irText/declarations/annotations/valueParametersWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/valueParametersWithAnnotations.kt.txt index 20570ae43f8..b105f6e0f5d 100644 --- a/compiler/testData/ir/irText/declarations/annotations/valueParametersWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/valueParametersWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } fun testFun(x: Int) { @@ -23,8 +20,5 @@ class TestClassConstructor1 { field = x get - - - } diff --git a/compiler/testData/ir/irText/declarations/annotations/varargsInAnnotationArguments.kt.txt b/compiler/testData/ir/irText/declarations/annotations/varargsInAnnotationArguments.kt.txt index 71e88ec54c8..402a6bfe286 100644 --- a/compiler/testData/ir/irText/declarations/annotations/varargsInAnnotationArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/varargsInAnnotationArguments.kt.txt @@ -4,9 +4,6 @@ annotation class A1 : Annotation { field = xs get - - - } annotation class A2 : Annotation { @@ -15,9 +12,6 @@ annotation class A2 : Annotation { field = xs get - - - } annotation class AA : Annotation { @@ -26,9 +20,6 @@ annotation class AA : Annotation { field = xs get - - - } @A1(xs = [1, 2, 3]) diff --git a/compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.kt.txt b/compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.kt.txt index cf6e8abd585..dce3071fe44 100644 --- a/compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.kt.txt +++ b/compiler/testData/ir/irText/declarations/annotations/variablesWithAnnotations.kt.txt @@ -4,9 +4,6 @@ annotation class TestAnn : Annotation { field = x get - - - } fun foo() { diff --git a/compiler/testData/ir/irText/declarations/classLevelProperties.kt.txt b/compiler/testData/ir/irText/declarations/classLevelProperties.kt.txt index 14e3597ecf5..a1d5fd7b042 100644 --- a/compiler/testData/ir/irText/declarations/classLevelProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/classLevelProperties.kt.txt @@ -53,8 +53,5 @@ class C { return #test8$delegate.setValue(thisRef = , property = ::test8, value = ) } - - - } diff --git a/compiler/testData/ir/irText/declarations/defaultArguments.kt.txt b/compiler/testData/ir/irText/declarations/defaultArguments.kt.txt index a2dca6a28e0..1f84ece1d9d 100644 --- a/compiler/testData/ir/irText/declarations/defaultArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/defaultArguments.kt.txt @@ -2,6 +2,5 @@ fun test1(x: Int, y: Int = 0, z: String = "abc") { local fun local(xx: Int = x, yy: Int = y, zz: String = z) { } - } diff --git a/compiler/testData/ir/irText/declarations/delegatedProperties.kt.txt b/compiler/testData/ir/irText/declarations/delegatedProperties.kt.txt index 69bef8dea13..21581e024dc 100644 --- a/compiler/testData/ir/irText/declarations/delegatedProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/delegatedProperties.kt.txt @@ -36,9 +36,6 @@ class C { return #test3$delegate.setValue(thisRef = , property = ::test3, value = ) } - - - } var test4: Any /* by */ diff --git a/compiler/testData/ir/irText/declarations/extensionProperties.kt.txt b/compiler/testData/ir/irText/declarations/extensionProperties.kt.txt index 44d5ab7067b..267b1e31f28 100644 --- a/compiler/testData/ir/irText/declarations/extensionProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/extensionProperties.kt.txt @@ -29,8 +29,5 @@ class Host { set(value: Int) { } - - - } diff --git a/compiler/testData/ir/irText/declarations/fakeOverrides.kt.txt b/compiler/testData/ir/irText/declarations/fakeOverrides.kt.txt index 98bffbc0249..4110a02f158 100644 --- a/compiler/testData/ir/irText/declarations/fakeOverrides.kt.txt +++ b/compiler/testData/ir/irText/declarations/fakeOverrides.kt.txt @@ -1,17 +1,12 @@ interface IFooStr { abstract fun foo(x: String) - - } interface IBar { abstract val bar: Int abstract get - - - } abstract class CFoo { @@ -24,9 +19,6 @@ abstract class CFoo { fun foo(x: T) { } - - - } class Test1 : CFoo, IFooStr, IBar { @@ -40,9 +32,5 @@ class Test1 : CFoo, IFooStr, IBar { field = 42 override get - - - - } diff --git a/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt.txt b/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt.txt index a0816c0080e..ca34745c9e5 100644 --- a/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt.txt +++ b/compiler/testData/ir/irText/declarations/genericDelegatedProperty.kt.txt @@ -5,9 +5,6 @@ class C { } - - - } object Delegate { @@ -24,9 +21,6 @@ object Delegate { operator fun setValue(thisRef: Any?, kProp: Any?, newValue: Int) { } - - - } var C.genericDelegatedProperty: Int /* by */ diff --git a/compiler/testData/ir/irText/declarations/interfaceProperties.kt.txt b/compiler/testData/ir/irText/declarations/interfaceProperties.kt.txt index fb728387d4a..01677a7b2f3 100644 --- a/compiler/testData/ir/irText/declarations/interfaceProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/interfaceProperties.kt.txt @@ -18,8 +18,5 @@ interface C { set(value: Int) { } - - - } diff --git a/compiler/testData/ir/irText/declarations/kt29833.kt.txt b/compiler/testData/ir/irText/declarations/kt29833.kt.txt index 6b5e7862faa..4f17ab6bb51 100644 --- a/compiler/testData/ir/irText/declarations/kt29833.kt.txt +++ b/compiler/testData/ir/irText/declarations/kt29833.kt.txt @@ -15,8 +15,5 @@ object Definitions { field = #CONSTANT get - - - } diff --git a/compiler/testData/ir/irText/declarations/kt35550.kt.txt b/compiler/testData/ir/irText/declarations/kt35550.kt.txt index 7b60fa0af31..3eefd726acd 100644 --- a/compiler/testData/ir/irText/declarations/kt35550.kt.txt +++ b/compiler/testData/ir/irText/declarations/kt35550.kt.txt @@ -4,9 +4,6 @@ interface I { return } - - - } class A : I { @@ -22,8 +19,5 @@ class A : I { return (#$$delegate_0, ).() } - - - } diff --git a/compiler/testData/ir/irText/declarations/localClassWithOverrides.kt.txt b/compiler/testData/ir/irText/declarations/localClassWithOverrides.kt.txt index aecdbb903cd..be3fb0a6c6f 100644 --- a/compiler/testData/ir/irText/declarations/localClassWithOverrides.kt.txt +++ b/compiler/testData/ir/irText/declarations/localClassWithOverrides.kt.txt @@ -14,12 +14,8 @@ fun outer() { abstract get abstract set - - - } - local class Local : ALocal { constructor() /* primary */ { super/*ALocal*/() @@ -39,11 +35,7 @@ fun outer() { override get override set - - - } - } diff --git a/compiler/testData/ir/irText/declarations/localDelegatedProperties.kt.txt b/compiler/testData/ir/irText/declarations/localDelegatedProperties.kt.txt index 3bacaf906ae..c7bcd592dd8 100644 --- a/compiler/testData/ir/irText/declarations/localDelegatedProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/localDelegatedProperties.kt.txt @@ -8,7 +8,6 @@ fun test1() { return x$delegate.getValue(thisRef = null, property = ::x) } - println(message = ()) } @@ -22,7 +21,6 @@ fun test2() { return x$delegate.setValue(thisRef = null, property = ::x, value = value) } - (value = 0) { // BLOCK val tmp0: Int = () diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt.txt index 1549c8563e9..7702aaae39a 100644 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt.txt +++ b/compiler/testData/ir/irText/declarations/multiplatform/expectClassInherited.kt.txt @@ -2,8 +2,6 @@ expect abstract class A { protected expect constructor() /* primary */ expect abstract fun foo() - - } expect open class B : A { @@ -11,8 +9,6 @@ expect open class B : A { expect override fun foo() expect open fun bar(s: String) - - } abstract class A { @@ -24,8 +20,6 @@ abstract class A { abstract fun foo() - - } open class B : A { @@ -41,8 +35,5 @@ open class B : A { open fun bar(s: String) { } - - - } diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt.txt index c0bc3b9a218..8dc5853177d 100644 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt.txt +++ b/compiler/testData/ir/irText/declarations/multiplatform/expectedEnumClass.kt.txt @@ -2,12 +2,6 @@ expect enum class MyEnum : Enum { FOO BAR - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */ @@ -23,11 +17,6 @@ enum class MyEnum : Enum { FOO init = TODO("IrEnumConstructorCall") BAR init = TODO("IrEnumConstructorCall") BAZ init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt.txt b/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt.txt index 0140f87e3b4..ec28ed7f4c7 100644 --- a/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt.txt +++ b/compiler/testData/ir/irText/declarations/multiplatform/expectedSealedClass.kt.txt @@ -1,15 +1,11 @@ expect sealed class Ops { private expect constructor() /* primary */ - - } expect class Add : Ops { expect constructor() /* primary */ - - } sealed class Ops { @@ -19,9 +15,6 @@ sealed class Ops { } - - - } class Add : Ops { @@ -31,8 +24,5 @@ class Add : Ops { } - - - } diff --git a/compiler/testData/ir/irText/declarations/parameters/class.kt.txt b/compiler/testData/ir/irText/declarations/parameters/class.kt.txt index 2431fae6cdd..414681de8f4 100644 --- a/compiler/testData/ir/irText/declarations/parameters/class.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/class.kt.txt @@ -1,13 +1,8 @@ interface TestInterface { interface TestNestedInterface { - - } - - - } class Test { @@ -24,9 +19,6 @@ class Test { } - - - } inner class TestInner { @@ -36,13 +28,7 @@ class Test { } - - - } - - - } diff --git a/compiler/testData/ir/irText/declarations/parameters/constructor.kt.txt b/compiler/testData/ir/irText/declarations/parameters/constructor.kt.txt index 7f984f257d9..b0970a65095 100644 --- a/compiler/testData/ir/irText/declarations/parameters/constructor.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/constructor.kt.txt @@ -13,9 +13,6 @@ class Test1 { field = y get - - - } class Test2 { @@ -44,14 +41,8 @@ class Test2 { .this/*TestInner*/(z = z) } - - - } - - - } class Test3 { @@ -69,9 +60,6 @@ class Test3 { field = y get - - - } class Test4 { @@ -89,8 +77,5 @@ class Test4 { this/*Test4*/(x = x.plus(other = y)) } - - - } diff --git a/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.kt.txt b/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.kt.txt index c1ce99196b0..a94798f1eac 100644 --- a/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/defaultPropertyAccessors.kt.txt @@ -23,9 +23,6 @@ class Host { get set - - - } class InPrimaryCtor { @@ -44,8 +41,5 @@ class InPrimaryCtor { get set - - - } diff --git a/compiler/testData/ir/irText/declarations/parameters/delegatedMembers.kt.txt b/compiler/testData/ir/irText/declarations/parameters/delegatedMembers.kt.txt index c291494358f..a49deaf0140 100644 --- a/compiler/testData/ir/irText/declarations/parameters/delegatedMembers.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/delegatedMembers.kt.txt @@ -5,8 +5,6 @@ interface IBase { abstract fun qux(t: T, x: X) - - } class Test : IBase { @@ -30,8 +28,5 @@ class Test : IBase { return #$$delegate_0.() } - - - } diff --git a/compiler/testData/ir/irText/declarations/parameters/fun.kt.txt b/compiler/testData/ir/irText/declarations/parameters/fun.kt.txt index f9fd4a63458..f985b350851 100644 --- a/compiler/testData/ir/irText/declarations/parameters/fun.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/fun.kt.txt @@ -23,8 +23,5 @@ class Host { fun String.testMembetExt2(i: Int, j: T) { } - - - } diff --git a/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.kt.txt b/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.kt.txt index 93bb6cd2ff7..503250dcd03 100644 --- a/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/genericInnerClass.kt.txt @@ -15,13 +15,7 @@ class Outer { fun foo(x1: T1, x2: T2) { } - - - } - - - } diff --git a/compiler/testData/ir/irText/declarations/parameters/localFun.kt.txt b/compiler/testData/ir/irText/declarations/parameters/localFun.kt.txt index eb35ac3ce24..fa27fdb1460 100644 --- a/compiler/testData/ir/irText/declarations/parameters/localFun.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/localFun.kt.txt @@ -2,18 +2,14 @@ fun outer() { local fun test1(i: Int, j: T) { } - local fun test2(i: Int = 0, j: String = "") { } - local fun test3(vararg args: String) { } - local fun String.textExt1(i: Int, j: TT) { } - } diff --git a/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.kt.txt b/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.kt.txt index c88b9fae673..5165f6c13d8 100644 --- a/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/propertyAccessors.kt.txt @@ -77,8 +77,5 @@ class Host { set(value: Int) { } - - - } diff --git a/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.kt.txt b/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.kt.txt index af3034679f2..f7f88a64ada 100644 --- a/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/typeParameterBeforeBound.kt.txt @@ -5,9 +5,6 @@ class Test1 { } - - - } fun test2() { diff --git a/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.kt.txt b/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.kt.txt index acd405e91cd..0407f0fedf2 100644 --- a/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.kt.txt +++ b/compiler/testData/ir/irText/declarations/parameters/typeParameterBoundedBySubclass.kt.txt @@ -5,9 +5,6 @@ abstract class Base1 { } - - - } class Derived1 : Base1 { @@ -17,9 +14,6 @@ class Derived1 : Base1 { } - - - } abstract class Base2 { @@ -32,9 +26,6 @@ abstract class Base2 { fun foo(x: T) { } - - - } class Derived2 : Base2 { @@ -44,9 +35,5 @@ class Derived2 : Base2 { } - - - - } diff --git a/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt.txt b/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt.txt index e1f95d49969..d6e01b5c993 100644 --- a/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt.txt +++ b/compiler/testData/ir/irText/declarations/primaryCtorDefaultArguments.kt.txt @@ -9,8 +9,5 @@ class Test { field = x get - - - } diff --git a/compiler/testData/ir/irText/declarations/primaryCtorProperties.kt.txt b/compiler/testData/ir/irText/declarations/primaryCtorProperties.kt.txt index 37b4c154856..59230d68345 100644 --- a/compiler/testData/ir/irText/declarations/primaryCtorProperties.kt.txt +++ b/compiler/testData/ir/irText/declarations/primaryCtorProperties.kt.txt @@ -14,8 +14,5 @@ class C { get set - - - } diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.kt.txt index 719dc756ba1..995dc1647e9 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/differentReceivers.kt.txt @@ -9,9 +9,6 @@ class MyClass { field = value get - - - } operator fun MyClass.provideDelegate(host: Any?, p: Any): String { diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/local.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/local.kt.txt index 3313b337599..f59a769225a 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/local.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/local.kt.txt @@ -13,9 +13,6 @@ class Delegate { return .() } - - - } class DelegateProvider { @@ -33,9 +30,6 @@ class DelegateProvider { return Delegate(value = .()) } - - - } fun foo() { @@ -45,6 +39,5 @@ fun foo() { return testMember$delegate.getValue(thisRef = null, property = ::testMember) } - } diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.kt.txt index dc4ba18992b..4cfecc03c66 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/localDifferentReceivers.kt.txt @@ -9,9 +9,6 @@ class MyClass { field = value get - - - } operator fun MyClass.provideDelegate(host: Any?, p: Any): String { @@ -29,14 +26,12 @@ fun box(): String { return testO$delegate.getValue(receiver = null, p = ::testO) } - val testK: String val testK$delegate: String = "K" local get(): String { return testK$delegate.getValue(receiver = null, p = ::testK) } - val testOK: String = ().plus(other = ()) return testOK } diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/member.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/member.kt.txt index 7fb97f6eb25..881cb1e698e 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/member.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/member.kt.txt @@ -13,9 +13,6 @@ class Delegate { return .() } - - - } class DelegateProvider { @@ -33,9 +30,6 @@ class DelegateProvider { return Delegate(value = .()) } - - - } class Host { @@ -51,8 +45,5 @@ class Host { return #testMember$delegate.getValue(thisRef = , property = ::testMember) } - - - } diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.kt.txt index fef16a625c0..2175f0337a6 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/memberExtension.kt.txt @@ -20,9 +20,6 @@ object Host { return receiver.plus(other = .()) } - - - } operator fun String.provideDelegate(host: Any?, p: Any): StringDelegate { @@ -39,8 +36,5 @@ object Host { field = (, "O").() get - - - } diff --git a/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.kt.txt b/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.kt.txt index 19df8d06c16..3b97be38e4e 100644 --- a/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.kt.txt +++ b/compiler/testData/ir/irText/declarations/provideDelegate/topLevel.kt.txt @@ -13,9 +13,6 @@ class Delegate { return .() } - - - } class DelegateProvider { @@ -33,9 +30,6 @@ class DelegateProvider { return Delegate(value = .()) } - - - } val testTopLevel: String /* by */ diff --git a/compiler/testData/ir/irText/declarations/typeAlias.kt.txt b/compiler/testData/ir/irText/declarations/typeAlias.kt.txt index e2d1093c71c..80cf0757892 100644 --- a/compiler/testData/ir/irText/declarations/typeAlias.kt.txt +++ b/compiler/testData/ir/irText/declarations/typeAlias.kt.txt @@ -14,7 +14,5 @@ class C { @Suppress(names = ["TOPLEVEL_TYPEALIASES_ONLY"]) typealias TestNested = String - - } diff --git a/compiler/testData/ir/irText/errors/suppressedNonPublicCall.kt.txt b/compiler/testData/ir/irText/errors/suppressedNonPublicCall.kt.txt index 9e4bbc7e90d..be2ddfddf77 100644 --- a/compiler/testData/ir/irText/errors/suppressedNonPublicCall.kt.txt +++ b/compiler/testData/ir/irText/errors/suppressedNonPublicCall.kt.txt @@ -8,9 +8,6 @@ class C { internal fun bar() { } - - - } inline fun C.foo() { diff --git a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.kt.txt b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.kt.txt index d80382fd23a..dc6157aa590 100644 --- a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.kt.txt +++ b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment1.kt.txt @@ -17,9 +17,6 @@ class C { field = x get - - - } fun testVariable() { diff --git a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt.txt b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt.txt index ba7f609d100..f559f43b413 100644 --- a/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt.txt +++ b/compiler/testData/ir/irText/expressions/arrayAugmentedAssignment2.kt.txt @@ -1,15 +1,11 @@ interface IA { abstract operator fun get(index: String): Int - - } interface IB { abstract operator fun IA.set(index: String, value: Int) - - } fun IB.test(a: IA) { diff --git a/compiler/testData/ir/irText/expressions/assignments.kt.txt b/compiler/testData/ir/irText/expressions/assignments.kt.txt index f1c6442fb24..2bb0575af4a 100644 --- a/compiler/testData/ir/irText/expressions/assignments.kt.txt +++ b/compiler/testData/ir/irText/expressions/assignments.kt.txt @@ -10,9 +10,6 @@ class Ref { get set - - - } fun test1() { diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignment2.kt.txt b/compiler/testData/ir/irText/expressions/augmentedAssignment2.kt.txt index c70172fe157..20f7ee9d601 100644 --- a/compiler/testData/ir/irText/expressions/augmentedAssignment2.kt.txt +++ b/compiler/testData/ir/irText/expressions/augmentedAssignment2.kt.txt @@ -5,9 +5,6 @@ class A { } - - - } operator fun A.plusAssign(s: String) { diff --git a/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.kt.txt b/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.kt.txt index 2f39d141072..b68fc3d5dce 100644 --- a/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.kt.txt +++ b/compiler/testData/ir/irText/expressions/augmentedAssignmentWithExpression.kt.txt @@ -12,9 +12,6 @@ class Host { .plusAssign(x = 1) } - - - } fun foo(): Host { diff --git a/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt b/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt index b105755a710..42e41290c72 100644 --- a/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt +++ b/compiler/testData/ir/irText/expressions/boundCallableReferences.kt.txt @@ -12,9 +12,6 @@ class A { field = 0 get - - - } fun A.qux() { diff --git a/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.kt.txt index 32c26034831..d1d857ad4f7 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/adaptedExtensionFunctions.kt.txt @@ -8,9 +8,6 @@ class C { } - - - } fun C.extensionVararg(i: Int, vararg s: String) { diff --git a/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.kt.txt index e1560da0c0f..1a6e2eb66ea 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/boundInlineAdaptedReference.kt.txt @@ -13,7 +13,6 @@ fun test() { receiver.id() /*~> Unit */ } - ::id }) } diff --git a/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.kt.txt index ebcd44676e5..f283591c503 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/boundInnerGenericConstructor.kt.txt @@ -22,14 +22,8 @@ class Foo { field = b get - - - } - - - } inline fun foo(a: A, b: B, x: Function2>): Inner { diff --git a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.kt.txt index 5752ccfed7b..24878a4d8b4 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/caoWithAdaptationForSam.kt.txt @@ -1,15 +1,10 @@ fun interface IFoo { abstract fun foo(i: Int) - - } fun interface IFoo2 : IFoo { - - - } object A { @@ -19,9 +14,6 @@ object A { } - - - } object B { @@ -31,9 +23,6 @@ object B { } - - - } operator fun A.get(i: IFoo): Int { diff --git a/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt.txt index 8741d8f2284..bfb7f9bba69 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/constructorWithAdaptedArguments.kt.txt @@ -9,9 +9,6 @@ class C { } - - - } class Outer { @@ -28,14 +25,8 @@ class Outer { } - - - } - - - } fun testConstructor(): Any { @@ -51,7 +42,6 @@ fun testInnerClassConstructor(outer: Outer): Any { return receiver.Inner(xs = [p0]) } - :: }) } @@ -62,7 +52,6 @@ fun testInnerClassConstructorCapturingOuter(): Any { return receiver.Inner(xs = [p0]) } - :: }) } diff --git a/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt.txt index 812e06d5e9b..bfaf53bbc2b 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/funWithDefaultParametersAsKCallableStar.kt.txt @@ -21,9 +21,6 @@ class C { field = x get - - - } fun useKCallableStar(fn: KCallable<*>) { diff --git a/compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt.txt index 6193921ad24..fd79b49f155 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/genericMember.kt.txt @@ -12,9 +12,6 @@ class A { field = 42 get - - - } val test1: KFunction1, Unit> diff --git a/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt.txt index faad8ad2eb3..ebb869ef4ef 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/importedFromObject.kt.txt @@ -15,9 +15,6 @@ object Foo { return "" } - - - } val test1: KProperty0 diff --git a/compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt.txt index 5c6e480fec5..e0950390950 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/kt37131.kt.txt @@ -13,9 +13,6 @@ class C { field = x get - - - } fun use(fn: Function0): Any { diff --git a/compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.kt.txt index e7547614223..1036bd906ae 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/suspendConversion.kt.txt @@ -33,9 +33,6 @@ class C { fun bar() { } - - - } fun testLambda() { @@ -97,7 +94,6 @@ fun testWithBoundReceiver() { receiver.bar() } - ::bar }) } diff --git a/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt.txt index a00ffca033a..909ea6478f4 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/typeArguments.kt.txt @@ -8,9 +8,6 @@ object Host { inline fun objectMember(x: T) { } - - - } inline fun topLevel1(x: T) { diff --git a/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt.txt index e56e9434e96..9890992ceda 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/unboundMemberReferenceWithAdaptedArguments.kt.txt @@ -15,9 +15,6 @@ open class A { return 1 } - - - } object Obj : A { @@ -31,9 +28,6 @@ object Obj : A { return 1 } - - - } fun testUnbound() { @@ -49,7 +43,6 @@ fun testBound(a: A) { receiver.foo(xs = [p0]) /*~> Unit */ } - ::foo }) } @@ -60,7 +53,6 @@ fun testObject() { receiver.foo(xs = [p0]) /*~> Unit */ } - ::foo }) } diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt.txt index aca3d60d7cd..9ac7eb2bc0c 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptationForSam.kt.txt @@ -1,8 +1,6 @@ fun interface IFoo { abstract fun foo(i: Int) - - } fun useFoo(foo: IFoo) { diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt.txt index 4de0ab9c9df..3b81f93c538 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withAdaptedArguments.kt.txt @@ -32,9 +32,6 @@ object Host { return "abc" } - - - } fun testDefault(): String { @@ -64,7 +61,6 @@ fun testImportedObjectMember(): String { return importedObjectMemberWithVarargs(xs = [p0]) } - ::importedObjectMemberWithVarargs }) } diff --git a/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt.txt b/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt.txt index 55b9a8d3122..778c1d5ef1f 100644 --- a/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt.txt +++ b/compiler/testData/ir/irText/expressions/callableReferences/withArgumentAdaptationAndReceiver.kt.txt @@ -19,7 +19,6 @@ class Host { receiver.withVararg(xs = [p0]) /*~> Unit */ } - ::withVararg }) } @@ -31,7 +30,6 @@ class Host { receiver.withVararg(xs = [p0]) /*~> Unit */ } - ::withVararg }) } @@ -43,7 +41,6 @@ class Host { receiver.withVararg(xs = [p0]) /*~> Unit */ } - ::withVararg }) } @@ -54,7 +51,6 @@ class Host { receiver.withVararg(xs = [p0]) /*~> Unit */ } - ::withVararg }) } @@ -65,13 +61,9 @@ class Host { receiver.withVararg(xs = [p0]) /*~> Unit */ } - ::withVararg }) } - - - } diff --git a/compiler/testData/ir/irText/expressions/castToTypeParameter.kt.txt b/compiler/testData/ir/irText/expressions/castToTypeParameter.kt.txt index d718a0a4519..d37018e51b7 100644 --- a/compiler/testData/ir/irText/expressions/castToTypeParameter.kt.txt +++ b/compiler/testData/ir/irText/expressions/castToTypeParameter.kt.txt @@ -44,8 +44,5 @@ class Host { return as TV } - - - } diff --git a/compiler/testData/ir/irText/expressions/chainOfSafeCalls.kt.txt b/compiler/testData/ir/irText/expressions/chainOfSafeCalls.kt.txt index f0c2381a393..44aa31dbb1f 100644 --- a/compiler/testData/ir/irText/expressions/chainOfSafeCalls.kt.txt +++ b/compiler/testData/ir/irText/expressions/chainOfSafeCalls.kt.txt @@ -13,9 +13,6 @@ class C { return } - - - } fun test(nc: C?): C? { diff --git a/compiler/testData/ir/irText/expressions/classReference.kt.txt b/compiler/testData/ir/irText/expressions/classReference.kt.txt index 7212d0a36bf..ee6e13d7e6f 100644 --- a/compiler/testData/ir/irText/expressions/classReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/classReference.kt.txt @@ -5,9 +5,6 @@ class A { } - - - } fun test() { diff --git a/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.kt.txt b/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.kt.txt index 571a89e312e..283189eb48b 100644 --- a/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.kt.txt +++ b/compiler/testData/ir/irText/expressions/complexAugmentedAssignment.kt.txt @@ -34,19 +34,10 @@ object X1 { get set - - - } - - - } - - - } fun test1(a: IntArray) { @@ -103,9 +94,6 @@ class B { get set - - - } object Host { @@ -122,9 +110,6 @@ object Host { } } - - - } fun Host.test3(v: B) { diff --git a/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.kt.txt b/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.kt.txt index 0970f573761..322337e59bc 100644 --- a/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/constructorWithOwnTypeParametersCall.kt.txt @@ -20,13 +20,7 @@ class K1 { } - - - } - - - } diff --git a/compiler/testData/ir/irText/expressions/contructorCall.kt.txt b/compiler/testData/ir/irText/expressions/contructorCall.kt.txt index ef069c6ac81..45f4be27318 100644 --- a/compiler/testData/ir/irText/expressions/contructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/contructorCall.kt.txt @@ -5,9 +5,6 @@ class A { } - - - } val test: A diff --git a/compiler/testData/ir/irText/expressions/conventionComparisons.kt.txt b/compiler/testData/ir/irText/expressions/conventionComparisons.kt.txt index acc623bd0a3..3abaddedb9b 100644 --- a/compiler/testData/ir/irText/expressions/conventionComparisons.kt.txt +++ b/compiler/testData/ir/irText/expressions/conventionComparisons.kt.txt @@ -1,14 +1,10 @@ interface IA { - - } interface IB { abstract operator fun IA.compareTo(other: IA): Int - - } fun IB.test1(a1: IA, a2: IA): Boolean { diff --git a/compiler/testData/ir/irText/expressions/destructuring1.kt.txt b/compiler/testData/ir/irText/expressions/destructuring1.kt.txt index 657099389e5..f4e556343c9 100644 --- a/compiler/testData/ir/irText/expressions/destructuring1.kt.txt +++ b/compiler/testData/ir/irText/expressions/destructuring1.kt.txt @@ -5,9 +5,6 @@ object A { } - - - } object B { @@ -25,9 +22,6 @@ object B { return 2 } - - - } fun B.test() { diff --git a/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.kt.txt b/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.kt.txt index be0be0655ee..2d7aaf67116 100644 --- a/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.kt.txt +++ b/compiler/testData/ir/irText/expressions/destructuringWithUnderscore.kt.txt @@ -5,9 +5,6 @@ object A { } - - - } object B { @@ -29,9 +26,6 @@ object B { return 3 } - - - } fun B.test() { diff --git a/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt.txt b/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt.txt index 8882593ebcd..e28e71ff06a 100644 --- a/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt.txt +++ b/compiler/testData/ir/irText/expressions/enumEntryAsReceiver.kt.txt @@ -8,13 +8,6 @@ abstract enum class X : Enum { B init = TODO("IrEnumConstructorCall") abstract val value: Function0 abstract get - - - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): X /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt.txt b/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt.txt index 61a32c983ab..054127a2884 100644 --- a/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt.txt +++ b/compiler/testData/ir/irText/expressions/enumEntryReferenceFromEnumEntryClass.kt.txt @@ -7,11 +7,6 @@ open enum class MyEnum : Enum { Z init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): MyEnum /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.kt.txt b/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.kt.txt index 9104cd49273..7c80a404e92 100644 --- a/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.kt.txt +++ b/compiler/testData/ir/irText/expressions/exhaustiveWhenElseBranch.kt.txt @@ -7,11 +7,6 @@ enum class A : Enum { V1 init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): A /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.kt.txt b/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.kt.txt index 2324f39b03a..6dfe5b398c9 100644 --- a/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.kt.txt +++ b/compiler/testData/ir/irText/expressions/floatingPointComparisons/typeParameterWithPrimitiveNumericSupertype.kt.txt @@ -61,8 +61,5 @@ class F { } } - - - } diff --git a/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.kt.txt b/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.kt.txt index 0abe18d695b..d0cc3943588 100644 --- a/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.kt.txt +++ b/compiler/testData/ir/irText/expressions/forWithImplicitReceivers.kt.txt @@ -5,9 +5,6 @@ object FiveTimes { } - - - } class IntCell { @@ -22,9 +19,6 @@ class IntCell { get set - - - } interface IReceiver { @@ -47,9 +41,6 @@ interface IReceiver { } } - - - } fun IReceiver.test() { diff --git a/compiler/testData/ir/irText/expressions/funImportedFromObject.kt.txt b/compiler/testData/ir/irText/expressions/funImportedFromObject.kt.txt index aafc48b7a65..0c6c653fdd4 100644 --- a/compiler/testData/ir/irText/expressions/funImportedFromObject.kt.txt +++ b/compiler/testData/ir/irText/expressions/funImportedFromObject.kt.txt @@ -11,9 +11,6 @@ object Host { return "OK" } - - - } fun test(): String { diff --git a/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.kt.txt index 4aaa2ddab5d..a88cc4b0f0a 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/arrayAsVarargAfterSamArgument_fi.kt.txt @@ -1,8 +1,6 @@ fun interface IRunnable { abstract fun run() - - } fun foo1(r: IRunnable, vararg s: String) { diff --git a/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt index d97ac04a4e5..9755c2389c3 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/basicFunInterfaceConversion.kt.txt @@ -1,8 +1,6 @@ fun interface Foo { abstract fun invoke(): String - - } fun foo(f: Foo): String { diff --git a/compiler/testData/ir/irText/expressions/funInterface/castFromAny.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/castFromAny.kt.txt index 316d45be194..6360ffbef08 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/castFromAny.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/castFromAny.kt.txt @@ -1,8 +1,6 @@ fun interface KRunnable { abstract fun invoke() - - } fun test(a: Any?) { diff --git a/compiler/testData/ir/irText/expressions/funInterface/partialSam.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/partialSam.kt.txt index 596d0026e9a..1b6caa75643 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/partialSam.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/partialSam.kt.txt @@ -1,8 +1,6 @@ fun interface Fn { abstract fun run(s: String, i: Int, t: T): R - - } class J { @@ -16,9 +14,6 @@ class J { return f1.run(s = "Bar", i = 1, t = f2.run(s = "Foo", i = 42, t = 239)) } - - - } val fsi: Fn @@ -34,12 +29,8 @@ val fsi: Fn return 1 } - - - } - () } get @@ -57,12 +48,8 @@ val fis: Fn return "" } - - - } - () } get diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.kt.txt index 236c0c99fe2..b7d224afc3f 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargs.kt.txt @@ -1,8 +1,6 @@ fun interface IFoo { abstract fun foo(i: Int) - - } fun useVararg(vararg foos: IFoo) { diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.kt.txt index 91714c66362..ca03e3fbd49 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/samConversionInVarargsMixed.kt.txt @@ -1,8 +1,6 @@ fun interface MyRunnable { abstract fun run() - - } fun test(a: Any, r: MyRunnable) { diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.kt.txt index 9b71c6464c9..b217e5e1faa 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/samConversionOnCallableReference.kt.txt @@ -1,8 +1,6 @@ fun interface KRunnable { abstract fun run() - - } fun foo0() { diff --git a/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.kt.txt b/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.kt.txt index 163d4f2b02d..3898a38ccff 100644 --- a/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.kt.txt +++ b/compiler/testData/ir/irText/expressions/funInterface/samConversionsWithSmartCasts.kt.txt @@ -1,8 +1,6 @@ fun interface KRunnable { abstract fun run() - - } fun id(x: T): T { diff --git a/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.kt.txt b/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.kt.txt index 56fcf80db15..36b9c18af8d 100644 --- a/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/genericConstructorCallWithTypeArguments.kt.txt @@ -20,8 +20,5 @@ class Box { field = value get - - - } diff --git a/compiler/testData/ir/irText/expressions/genericPropertyRef.kt.txt b/compiler/testData/ir/irText/expressions/genericPropertyRef.kt.txt index d8d40af7493..d8fd56dbcd2 100644 --- a/compiler/testData/ir/irText/expressions/genericPropertyRef.kt.txt +++ b/compiler/testData/ir/irText/expressions/genericPropertyRef.kt.txt @@ -15,9 +15,6 @@ class Value { get set - - - } val Value.additionalText: Int /* by */ @@ -47,9 +44,6 @@ class DVal { return 42 } - - - } var recivier: Any? diff --git a/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt.txt b/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt.txt index bcdbe848f86..ea241dbb39c 100644 --- a/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt.txt +++ b/compiler/testData/ir/irText/expressions/implicitCastInReturnFromConstructor.kt.txt @@ -12,8 +12,5 @@ class C { } } - - - } diff --git a/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt.txt b/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt.txt index a5b6f66c2bb..04559c16e41 100644 --- a/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt.txt +++ b/compiler/testData/ir/irText/expressions/implicitCastToTypeParameter.kt.txt @@ -7,8 +7,6 @@ inline fun Any.test1(): T? { interface Foo { - - } val Foo.asT: T? @@ -34,8 +32,5 @@ class Bar { fun useT(t: T) { } - - - } diff --git a/compiler/testData/ir/irText/expressions/interfaceThisRef.kt.txt b/compiler/testData/ir/irText/expressions/interfaceThisRef.kt.txt index 1537efb3157..94965567f3a 100644 --- a/compiler/testData/ir/irText/expressions/interfaceThisRef.kt.txt +++ b/compiler/testData/ir/irText/expressions/interfaceThisRef.kt.txt @@ -4,8 +4,5 @@ interface IFoo { .foo() } - - - } diff --git a/compiler/testData/ir/irText/expressions/jvmFieldWithIntersectionTypes.kt.txt b/compiler/testData/ir/irText/expressions/jvmFieldWithIntersectionTypes.kt.txt index 0608cd4cb58..4325bd0132e 100644 --- a/compiler/testData/ir/irText/expressions/jvmFieldWithIntersectionTypes.kt.txt +++ b/compiler/testData/ir/irText/expressions/jvmFieldWithIntersectionTypes.kt.txt @@ -1,7 +1,5 @@ interface IFoo { - - } class Derived1 : JFieldOwner, IFoo { @@ -11,9 +9,6 @@ class Derived1 : JFieldOwner, IFoo { } - - - } class Derived2 : JFieldOwner, IFoo { @@ -23,9 +18,6 @@ class Derived2 : JFieldOwner, IFoo { } - - - } open class Mid : JFieldOwner { @@ -35,9 +27,6 @@ open class Mid : JFieldOwner { } - - - } class DerivedThroughMid1 : Mid, IFoo { @@ -47,9 +36,6 @@ class DerivedThroughMid1 : Mid, IFoo { } - - - } class DerivedThroughMid2 : Mid, IFoo { @@ -59,9 +45,6 @@ class DerivedThroughMid2 : Mid, IFoo { } - - - } fun test(b: Boolean) { diff --git a/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.kt.txt b/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.kt.txt index 706e32e32d7..8ead844afc8 100644 --- a/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/jvmInstanceFieldReference.kt.txt @@ -17,8 +17,5 @@ class Derived : Base { #value = value } - - - } diff --git a/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt b/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt index acddda85fd6..8061ef43ab6 100644 --- a/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/jvmStaticFieldReference.kt.txt @@ -31,8 +31,5 @@ class TestClass { #out /*!! PrintStream */.println(p0 = "TestClass/init") } - - - } diff --git a/compiler/testData/ir/irText/expressions/kt16904.kt.txt b/compiler/testData/ir/irText/expressions/kt16904.kt.txt index 8ad0b469529..f4e3c7039d5 100644 --- a/compiler/testData/ir/irText/expressions/kt16904.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt16904.kt.txt @@ -14,9 +14,6 @@ abstract class A { get set - - - } class B { @@ -29,9 +26,6 @@ class B { operator fun plusAssign(x: Int) { } - - - } class Test1 : A { @@ -49,9 +43,6 @@ class Test1 : A { } } - - - } class Test2 : J { @@ -65,8 +56,5 @@ class Test2 : J { #field = 42 } - - - } diff --git a/compiler/testData/ir/irText/expressions/kt16905.kt.txt b/compiler/testData/ir/irText/expressions/kt16905.kt.txt index 9cbb1a1aab9..64e44df3078 100644 --- a/compiler/testData/ir/irText/expressions/kt16905.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt16905.kt.txt @@ -12,9 +12,6 @@ class Outer { } - - - } inner class InnerDerived0 : Inner { @@ -24,9 +21,6 @@ class Outer { } - - - } inner class InnerDerived1 : Inner { @@ -36,14 +30,8 @@ class Outer { } - - - } - - - } typealias OI = Inner diff --git a/compiler/testData/ir/irText/expressions/kt23030.kt.txt b/compiler/testData/ir/irText/expressions/kt23030.kt.txt index b3bd4c4d157..3a5663bb02c 100644 --- a/compiler/testData/ir/irText/expressions/kt23030.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt23030.kt.txt @@ -51,8 +51,5 @@ class C { } } - - - } diff --git a/compiler/testData/ir/irText/expressions/kt28456.kt.txt b/compiler/testData/ir/irText/expressions/kt28456.kt.txt index b0009d1e305..647b654b1c6 100644 --- a/compiler/testData/ir/irText/expressions/kt28456.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt28456.kt.txt @@ -5,9 +5,6 @@ class A { } - - - } operator fun A.get(vararg xs: Int): Int { diff --git a/compiler/testData/ir/irText/expressions/kt28456a.kt.txt b/compiler/testData/ir/irText/expressions/kt28456a.kt.txt index 72003754a75..e36f59d42a2 100644 --- a/compiler/testData/ir/irText/expressions/kt28456a.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt28456a.kt.txt @@ -5,9 +5,6 @@ class A { } - - - } operator fun A.set(vararg i: Int, v: Int) { diff --git a/compiler/testData/ir/irText/expressions/kt28456b.kt.txt b/compiler/testData/ir/irText/expressions/kt28456b.kt.txt index d6804f792c0..2ff00d0d234 100644 --- a/compiler/testData/ir/irText/expressions/kt28456b.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt28456b.kt.txt @@ -5,9 +5,6 @@ class A { } - - - } operator fun A.get(i: Int, a: Int = 1, b: Int = 2, c: Int = 3, d: Int = 4): Int { diff --git a/compiler/testData/ir/irText/expressions/kt30020.kt.txt b/compiler/testData/ir/irText/expressions/kt30020.kt.txt index 0b61796d6ff..72a23624845 100644 --- a/compiler/testData/ir/irText/expressions/kt30020.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt30020.kt.txt @@ -4,8 +4,6 @@ interface X { abstract fun f(): MutableList - - } fun test(x: X, nx: X?) { @@ -58,33 +56,7 @@ abstract class AML : MutableList { .plusAssign(element = 300) } - - - } - - - - - - - - - - - - - - - - - - - - - - - } diff --git a/compiler/testData/ir/irText/expressions/kt35730.kt.txt b/compiler/testData/ir/irText/expressions/kt35730.kt.txt index bbe6def41d9..76ab247e155 100644 --- a/compiler/testData/ir/irText/expressions/kt35730.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt35730.kt.txt @@ -2,9 +2,6 @@ interface Base { fun foo() { } - - - } object Derived : Base { @@ -14,10 +11,6 @@ object Derived : Base { } - - - - } fun test() { diff --git a/compiler/testData/ir/irText/expressions/kt36956.kt.txt b/compiler/testData/ir/irText/expressions/kt36956.kt.txt index c2875df8452..fd7eb787089 100644 --- a/compiler/testData/ir/irText/expressions/kt36956.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt36956.kt.txt @@ -16,9 +16,6 @@ class A { operator fun set(i: Int, v: T) { } - - - } val aFloat: A diff --git a/compiler/testData/ir/irText/expressions/kt37570.kt.txt b/compiler/testData/ir/irText/expressions/kt37570.kt.txt index 511a7f5a3f8..1feada39ea7 100644 --- a/compiler/testData/ir/irText/expressions/kt37570.kt.txt +++ b/compiler/testData/ir/irText/expressions/kt37570.kt.txt @@ -19,8 +19,5 @@ class A { ) /*~> Unit */ } - - - } diff --git a/compiler/testData/ir/irText/expressions/memberTypeArguments.kt.txt b/compiler/testData/ir/irText/expressions/memberTypeArguments.kt.txt index ffed8fe90ac..117a06696a6 100644 --- a/compiler/testData/ir/irText/expressions/memberTypeArguments.kt.txt +++ b/compiler/testData/ir/irText/expressions/memberTypeArguments.kt.txt @@ -13,8 +13,5 @@ class GenericClass { return GenericClass(value = newValue) } - - - } diff --git a/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt.txt b/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt.txt index 96eddea213c..2eacbd959f6 100644 --- a/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt.txt +++ b/compiler/testData/ir/irText/expressions/membersImportedFromObject.kt.txt @@ -22,9 +22,6 @@ object A { return 43 } - - - } val test1: Int diff --git a/compiler/testData/ir/irText/expressions/multipleThisReferences.kt.txt b/compiler/testData/ir/irText/expressions/multipleThisReferences.kt.txt index 7beac7158c2..67aaed18e2b 100644 --- a/compiler/testData/ir/irText/expressions/multipleThisReferences.kt.txt +++ b/compiler/testData/ir/irText/expressions/multipleThisReferences.kt.txt @@ -16,14 +16,8 @@ class Outer { field = x get - - - } - - - } class Host { @@ -50,18 +44,11 @@ class Host { field = .().plus(other = .()) get - - - } - () } } - - - } diff --git a/compiler/testData/ir/irText/expressions/objectAsCallable.kt.txt b/compiler/testData/ir/irText/expressions/objectAsCallable.kt.txt index 8d2b46f20ba..3d214de2022 100644 --- a/compiler/testData/ir/irText/expressions/objectAsCallable.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectAsCallable.kt.txt @@ -5,9 +5,6 @@ object A { } - - - } enum class En : Enum { @@ -19,11 +16,6 @@ enum class En : Enum { X init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/expressions/objectClassReference.kt.txt b/compiler/testData/ir/irText/expressions/objectClassReference.kt.txt index c67b1eff3b8..e6eed1deb85 100644 --- a/compiler/testData/ir/irText/expressions/objectClassReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectClassReference.kt.txt @@ -5,9 +5,6 @@ object A { } - - - } fun test() { diff --git a/compiler/testData/ir/irText/expressions/objectReference.kt.txt b/compiler/testData/ir/irText/expressions/objectReference.kt.txt index 613c811fe9e..14a7bdbe308 100644 --- a/compiler/testData/ir/irText/expressions/objectReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectReference.kt.txt @@ -41,9 +41,6 @@ object Z { Z.foo() } - - - } val aLambda: Function0 @@ -79,19 +76,12 @@ object Z { Z.foo() } - - - } - () } get - - - } fun Z.test() { diff --git a/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt b/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt index adb4082d614..259f55f1e76 100644 --- a/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectReferenceInClosureInSuperConstructorCall.kt.txt @@ -9,9 +9,6 @@ abstract class Base { field = lambda get - - - } object Test : Base { @@ -24,8 +21,5 @@ object Test : Base { } - - - } diff --git a/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.kt.txt b/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.kt.txt index de292e4f24f..38519769ffc 100644 --- a/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.kt.txt +++ b/compiler/testData/ir/irText/expressions/objectReferenceInFieldInitializer.kt.txt @@ -18,8 +18,5 @@ object A { field = 10000 private get - - - } diff --git a/compiler/testData/ir/irText/expressions/outerClassInstanceReference.kt.txt b/compiler/testData/ir/irText/expressions/outerClassInstanceReference.kt.txt index beef491f733..b9239e02aa2 100644 --- a/compiler/testData/ir/irText/expressions/outerClassInstanceReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/outerClassInstanceReference.kt.txt @@ -19,13 +19,7 @@ class Outer { return .outer() } - - - } - - - } diff --git a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.kt.txt b/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.kt.txt index 261741782c8..00520217d00 100644 --- a/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.kt.txt +++ b/compiler/testData/ir/irText/expressions/primitivesImplicitConversions.kt.txt @@ -46,8 +46,5 @@ class TestImplicitArguments { field = x get - - - } diff --git a/compiler/testData/ir/irText/expressions/propertyReferences.kt.txt b/compiler/testData/ir/irText/expressions/propertyReferences.kt.txt index 5a7c79594f1..6753cc9a772 100644 --- a/compiler/testData/ir/irText/expressions/propertyReferences.kt.txt +++ b/compiler/testData/ir/irText/expressions/propertyReferences.kt.txt @@ -12,9 +12,6 @@ object Delegate { operator fun setValue(thisRef: Any?, kProp: Any, value: Int) { } - - - } open class C { @@ -34,9 +31,6 @@ open class C { get protected set - - - } val valWithBackingField: Int diff --git a/compiler/testData/ir/irText/expressions/reflectionLiterals.kt.txt b/compiler/testData/ir/irText/expressions/reflectionLiterals.kt.txt index e2507de1434..f05330c983a 100644 --- a/compiler/testData/ir/irText/expressions/reflectionLiterals.kt.txt +++ b/compiler/testData/ir/irText/expressions/reflectionLiterals.kt.txt @@ -8,9 +8,6 @@ class A { fun foo() { } - - - } fun bar() { diff --git a/compiler/testData/ir/irText/expressions/safeAssignment.kt.txt b/compiler/testData/ir/irText/expressions/safeAssignment.kt.txt index 81befe5abd9..bbf4d5c2f5d 100644 --- a/compiler/testData/ir/irText/expressions/safeAssignment.kt.txt +++ b/compiler/testData/ir/irText/expressions/safeAssignment.kt.txt @@ -10,9 +10,6 @@ class C { get set - - - } fun test(nc: C?) { diff --git a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.kt.txt b/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.kt.txt index 5003e3cb3e1..2e0d38619f9 100644 --- a/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.kt.txt +++ b/compiler/testData/ir/irText/expressions/safeCallWithIncrementDecrement.kt.txt @@ -7,9 +7,6 @@ class C { } - - - } var C?.p: Int diff --git a/compiler/testData/ir/irText/expressions/safeCalls.kt.txt b/compiler/testData/ir/irText/expressions/safeCalls.kt.txt index 033184eefc9..1c691717344 100644 --- a/compiler/testData/ir/irText/expressions/safeCalls.kt.txt +++ b/compiler/testData/ir/irText/expressions/safeCalls.kt.txt @@ -10,9 +10,6 @@ class Ref { get set - - - } interface IHost { @@ -20,9 +17,6 @@ interface IHost { return .() } - - - } fun test1(x: String?): Int? { diff --git a/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.kt.txt b/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.kt.txt index 47a73284e4e..dbb69d78f6c 100644 --- a/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.kt.txt +++ b/compiler/testData/ir/irText/expressions/sam/samConversionInGenericConstructorCall_NI.kt.txt @@ -24,14 +24,8 @@ class Outer { field = j12 get - - - } - - - } fun test4(f: Function1, g: Function1): Inner<@FlexibleNullability Any?, @FlexibleNullability String?> { diff --git a/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt b/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt index 8b74b7bb4e0..6dacaaf3fd5 100644 --- a/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt +++ b/compiler/testData/ir/irText/expressions/setFieldWithImplicitCast.kt.txt @@ -13,8 +13,5 @@ class Derived : Base { } } - - - } diff --git a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions_annotation.kt.txt b/compiler/testData/ir/irText/expressions/signedToUnsignedConversions_annotation.kt.txt index 7593e9e50a4..5ff874c983e 100644 --- a/compiler/testData/ir/irText/expressions/signedToUnsignedConversions_annotation.kt.txt +++ b/compiler/testData/ir/irText/expressions/signedToUnsignedConversions_annotation.kt.txt @@ -3,7 +3,5 @@ package kotlin.internal annotation class ImplicitIntegerCoercion : Annotation { constructor() /* primary */ - - } diff --git a/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.kt.txt b/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.kt.txt index 29195ac0858..b67ccc83075 100644 --- a/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.kt.txt +++ b/compiler/testData/ir/irText/expressions/smartCastsWithDestructuring.kt.txt @@ -1,13 +1,9 @@ interface I1 { - - } interface I2 { - - } operator fun I1.component1(): Int { diff --git a/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.kt.txt b/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.kt.txt index 4153e1dfd87..3d5368d3e83 100644 --- a/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/specializedTypeAliasConstructorCall.kt.txt @@ -9,9 +9,6 @@ class Cell { field = value get - - - } typealias IntAlias = Cell diff --git a/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt.txt b/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt.txt index 19c59c3abcd..7e2d3e48b05 100644 --- a/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt.txt +++ b/compiler/testData/ir/irText/expressions/suspendConversionOnArbitraryExpression.kt.txt @@ -26,7 +26,6 @@ fun testSimple(fn: Function0) { callee.invoke() } - ::suspendConversion0 }) } @@ -37,7 +36,6 @@ fun testSimpleNonVal() { callee.invoke() } - ::suspendConversion0 }) } @@ -48,7 +46,6 @@ fun testExtAsExt(fn: @ExtensionFunctionType Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -59,7 +56,6 @@ fun testExtAsSimple(fn: @ExtensionFunctionType Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -70,7 +66,6 @@ fun testSimpleAsExt(fn: Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -81,7 +76,6 @@ fun testSimpleAsSimpleT(fn: Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -92,7 +86,6 @@ fun testSimpleAsExtT(fn: Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -103,7 +96,6 @@ fun testExtAsSimpleT(fn: @ExtensionFunctionType Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -114,7 +106,6 @@ fun testExtAsExtT(fn: @ExtensionFunctionType Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -125,7 +116,6 @@ fun testSimpleSAsSimpleT(fn: Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -136,7 +126,6 @@ fun testSimpleSAsExtT(fn: Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -147,7 +136,6 @@ fun testExtSAsSimpleT(fn: @ExtensionFunctionType Function1) callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -158,7 +146,6 @@ fun testExtSAsExtT(fn: @ExtensionFunctionType Function1) { callee.invoke(p1 = p0) } - ::suspendConversion0 }) } @@ -170,7 +157,6 @@ fun testSmartCastWithSuspendConversion(a: Any) { callee.invoke() } - ::suspendConversion0 }) } @@ -183,7 +169,6 @@ fun testSmartCastOnVarWithSuspendConversion(a: Any) { callee.invoke() } - ::suspendConversion0 }) } diff --git a/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt b/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt index b04530ede70..54533111596 100644 --- a/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt +++ b/compiler/testData/ir/irText/expressions/temporaryInEnumEntryInitializer.kt.txt @@ -15,11 +15,6 @@ enum class En : Enum { ENTRY init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): En /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/expressions/temporaryInInitBlock.kt.txt b/compiler/testData/ir/irText/expressions/temporaryInInitBlock.kt.txt index 9504e2eb01b..55002ec2aea 100644 --- a/compiler/testData/ir/irText/expressions/temporaryInInitBlock.kt.txt +++ b/compiler/testData/ir/irText/expressions/temporaryInInitBlock.kt.txt @@ -18,8 +18,5 @@ class C { } } - - - } diff --git a/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.kt.txt b/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.kt.txt index 48fe3b0173f..359f6dd82ef 100644 --- a/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.kt.txt +++ b/compiler/testData/ir/irText/expressions/thisOfGenericOuterClass.kt.txt @@ -20,14 +20,8 @@ class Outer { field = y get - - - } - - - } fun Outer.test(): Inner { @@ -43,12 +37,8 @@ fun Outer.test(): Inner { field = .().plus(other = .()) get - - - } - () } } diff --git a/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.kt.txt b/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.kt.txt index a0d57b67f16..b230231eedc 100644 --- a/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.kt.txt +++ b/compiler/testData/ir/irText/expressions/thisRefToObjectInNestedClassConstructorCall.kt.txt @@ -9,9 +9,6 @@ open class Base { field = x get - - - } object Host { @@ -28,9 +25,6 @@ object Host { } - - - } class Derived2 : Base { @@ -40,13 +34,7 @@ object Host { } - - - } - - - } diff --git a/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.kt.txt b/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.kt.txt index b84ea5df90f..d8bd16379d1 100644 --- a/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.kt.txt +++ b/compiler/testData/ir/irText/expressions/thisReferenceBeforeClassDeclared.kt.txt @@ -7,12 +7,8 @@ fun WithCompanion.test() { } - - - } - () } val test2: = { // BLOCK @@ -23,12 +19,8 @@ fun WithCompanion.test() { } - - - } - () } } @@ -51,13 +43,7 @@ open class WithCompanion { return } - - - } - - - } diff --git a/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt.txt b/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt.txt index 6464cc8e12c..2e197270852 100644 --- a/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt.txt +++ b/compiler/testData/ir/irText/expressions/typeAliasConstructorReference.kt.txt @@ -5,9 +5,6 @@ class C { } - - - } typealias CA = C @@ -25,14 +22,8 @@ object Host { } - - - } - - - } typealias NA = Nested diff --git a/compiler/testData/ir/irText/expressions/typeOperators.kt.txt b/compiler/testData/ir/irText/expressions/typeOperators.kt.txt index bd40e188054..d6a07a733a4 100644 --- a/compiler/testData/ir/irText/expressions/typeOperators.kt.txt +++ b/compiler/testData/ir/irText/expressions/typeOperators.kt.txt @@ -1,7 +1,5 @@ interface IThing { - - } fun test1(x: Any): Boolean { diff --git a/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.kt.txt b/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.kt.txt index ea6db7d4e79..86ba0ec7ca5 100644 --- a/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.kt.txt +++ b/compiler/testData/ir/irText/expressions/typeParameterClassLiteral.kt.txt @@ -31,8 +31,5 @@ class Host { return TV::class } - - - } diff --git a/compiler/testData/ir/irText/expressions/useImportedMember.kt.txt b/compiler/testData/ir/irText/expressions/useImportedMember.kt.txt index 3101e945445..35532431123 100644 --- a/compiler/testData/ir/irText/expressions/useImportedMember.kt.txt +++ b/compiler/testData/ir/irText/expressions/useImportedMember.kt.txt @@ -7,9 +7,6 @@ interface I { return g } - - - } open class BaseClass { @@ -24,9 +21,6 @@ open class BaseClass { return } - - - } object C : BaseClass, I { @@ -67,11 +61,6 @@ object C : BaseClass, I { return } - - - - - } fun box(): String { diff --git a/compiler/testData/ir/irText/expressions/values.kt.txt b/compiler/testData/ir/irText/expressions/values.kt.txt index 766800e5eee..98c2fc9ffe1 100644 --- a/compiler/testData/ir/irText/expressions/values.kt.txt +++ b/compiler/testData/ir/irText/expressions/values.kt.txt @@ -7,11 +7,6 @@ enum class Enum : Enum { A init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): Enum /* Synthetic body for ENUM_VALUEOF */ @@ -25,9 +20,6 @@ object A { } - - - } val a: Int @@ -48,14 +40,8 @@ class Z { } - - - } - - - } fun test1(): Enum { diff --git a/compiler/testData/ir/irText/expressions/when.kt.txt b/compiler/testData/ir/irText/expressions/when.kt.txt index 5c37ea8183a..e731e9caf78 100644 --- a/compiler/testData/ir/irText/expressions/when.kt.txt +++ b/compiler/testData/ir/irText/expressions/when.kt.txt @@ -5,9 +5,6 @@ object A { } - - - } fun testWithSubject(x: Any?): String { diff --git a/compiler/testData/ir/irText/firProblems/AbstractMutableMap.kt.txt b/compiler/testData/ir/irText/firProblems/AbstractMutableMap.kt.txt index 4d47ef4744f..5d5198585c6 100644 --- a/compiler/testData/ir/irText/firProblems/AbstractMutableMap.kt.txt +++ b/compiler/testData/ir/irText/firProblems/AbstractMutableMap.kt.txt @@ -14,27 +14,5 @@ class MyMap : AbstractMutableMap { return mutableSetOf>() } - - - - - - - - - - - - - - - - - - - - - - } diff --git a/compiler/testData/ir/irText/firProblems/AllCandidates.kt.txt b/compiler/testData/ir/irText/firProblems/AllCandidates.kt.txt index 572fc7d8644..be3662a35fb 100644 --- a/compiler/testData/ir/irText/firProblems/AllCandidates.kt.txt +++ b/compiler/testData/ir/irText/firProblems/AllCandidates.kt.txt @@ -5,9 +5,6 @@ class ResolvedCall { } - - - } class MyCandidate { @@ -21,9 +18,6 @@ class MyCandidate { field = resolvedCall get - - - } private fun allCandidatesResult(allCandidates: Collection): @FlexibleNullability OverloadResolutionResultsImpl<@FlexibleNullability A?>? { diff --git a/compiler/testData/ir/irText/firProblems/AnnotationInAnnotation.kt.txt b/compiler/testData/ir/irText/firProblems/AnnotationInAnnotation.kt.txt index 4b403e60b42..82d9bea15dc 100644 --- a/compiler/testData/ir/irText/firProblems/AnnotationInAnnotation.kt.txt +++ b/compiler/testData/ir/irText/firProblems/AnnotationInAnnotation.kt.txt @@ -4,9 +4,6 @@ annotation class Storage : Annotation { field = value get - - - } annotation class State : Annotation { @@ -19,9 +16,6 @@ annotation class State : Annotation { field = storages get - - - } @State(name = "1", storages = [Storage(value = "HELLO")]) @@ -32,8 +26,5 @@ class Test { } - - - } diff --git a/compiler/testData/ir/irText/firProblems/BaseFirBuilder.kt.txt b/compiler/testData/ir/irText/firProblems/BaseFirBuilder.kt.txt index 808e2406597..4f244a4522c 100644 --- a/compiler/testData/ir/irText/firProblems/BaseFirBuilder.kt.txt +++ b/compiler/testData/ir/irText/firProblems/BaseFirBuilder.kt.txt @@ -9,8 +9,5 @@ abstract class BaseFirBuilder { return block.invoke() } - - - } diff --git a/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.kt.txt b/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.kt.txt index 4ac329e6280..73129fe08a1 100644 --- a/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.kt.txt +++ b/compiler/testData/ir/irText/firProblems/ClashResolutionDescriptor.kt.txt @@ -1,19 +1,13 @@ interface ComponentContainer { - - } interface PlatformSpecificExtension> { - - } interface ComponentDescriptor { - - } abstract class PlatformExtensionsClashResolver> { @@ -27,9 +21,6 @@ abstract class PlatformExtensionsClashResolver> field = applicableTo get - - - } class ClashResolutionDescriptor> { @@ -47,9 +38,6 @@ class ClashResolutionDescriptor> { field = clashedComponents private get - - - } private val registrationMap: HashMap diff --git a/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.kt.txt b/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.kt.txt index 211a9a3ab8b..486ff7b24a4 100644 --- a/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.kt.txt +++ b/compiler/testData/ir/irText/firProblems/DeepCopyIrTree.kt.txt @@ -1,7 +1,5 @@ interface IrType { - - } interface TypeRemapper { @@ -9,8 +7,6 @@ interface TypeRemapper { abstract fun remapType(type: IrType): IrType abstract fun leaveScope() - - } interface IrTypeParametersContainer : IrDeclaration, IrDeclarationParent { @@ -18,30 +14,20 @@ interface IrTypeParametersContainer : IrDeclaration, IrDeclarationParent { abstract get abstract set - - - } interface IrDeclaration { - - } interface IrTypeParameter : IrDeclaration { abstract val superTypes: MutableList abstract get - - - } interface IrDeclarationParent { - - } class DeepCopyIrTreeWithSymbols { @@ -83,9 +69,6 @@ class DeepCopyIrTreeWithSymbols { ) } - - - } inline fun TypeRemapper.withinScope(irTypeParametersContainer: IrTypeParametersContainer, fn: Function0): T { diff --git a/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.kt.txt b/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.kt.txt index 0cf12e16dec..1628eec04df 100644 --- a/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.kt.txt +++ b/compiler/testData/ir/irText/firProblems/DelegationAndInheritanceFromJava.kt.txt @@ -51,9 +51,6 @@ class Impl : A, B { return #$$delegate_0.() } - - - } fun box(): String { diff --git a/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt.txt b/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt.txt index a82b4db611b..dd2f50ea9eb 100644 --- a/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt.txt +++ b/compiler/testData/ir/irText/firProblems/InnerClassInAnonymous.kt.txt @@ -26,9 +26,6 @@ fun box(): String { return .().plus(other = .()) } - - - } local open inner class Base { @@ -42,17 +39,10 @@ fun box(): String { field = s get - - - } - - - } - () } return obj.foo() diff --git a/compiler/testData/ir/irText/firProblems/MultiList.kt.txt b/compiler/testData/ir/irText/firProblems/MultiList.kt.txt index 818cbe181a4..a15efac40c9 100644 --- a/compiler/testData/ir/irText/firProblems/MultiList.kt.txt +++ b/compiler/testData/ir/irText/firProblems/MultiList.kt.txt @@ -49,22 +49,6 @@ data class Some { interface MyList : List> { - - - - - - - - - - - - - - - - } open class SomeList : MyList, ArrayList> { @@ -74,42 +58,6 @@ open class SomeList : MyList, ArrayList> { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - } class FinalList : SomeList { @@ -119,41 +67,5 @@ class FinalList : SomeList { } - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - } diff --git a/compiler/testData/ir/irText/firProblems/SignatureClash.kt.txt b/compiler/testData/ir/irText/firProblems/SignatureClash.kt.txt index 9dd093e8b12..77b50e068a2 100644 --- a/compiler/testData/ir/irText/firProblems/SignatureClash.kt.txt +++ b/compiler/testData/ir/irText/firProblems/SignatureClash.kt.txt @@ -14,29 +14,19 @@ object Factory { return "Omega" } - - - } interface Base { - - } interface Delegate : Base { abstract fun bar() - - } interface Derived : Delegate { - - - } data class DataClass : Derived, Delegate { diff --git a/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt b/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt index cf1f115f43c..d1ac0d01a32 100644 --- a/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt +++ b/compiler/testData/ir/irText/firProblems/VarInInit.kt.txt @@ -18,8 +18,5 @@ class Some { } } - - - } diff --git a/compiler/testData/ir/irText/firProblems/candidateSymbol.kt.txt b/compiler/testData/ir/irText/firProblems/candidateSymbol.kt.txt index ca0b05b3d06..d67903a698c 100644 --- a/compiler/testData/ir/irText/firProblems/candidateSymbol.kt.txt +++ b/compiler/testData/ir/irText/firProblems/candidateSymbol.kt.txt @@ -9,9 +9,6 @@ class Candidate { field = symbol get - - - } abstract class AbstractFirBasedSymbol where E : FirSymbolOwner, E : FirDeclaration { @@ -25,33 +22,22 @@ abstract class AbstractFirBasedSymbol where E : FirSymbolOwner, E : FirDec get set - - - } interface FirDeclaration { - - } interface FirSymbolOwner where E : FirSymbolOwner, E : FirDeclaration { abstract val symbol: AbstractFirBasedSymbol abstract get - - - } interface FirCallableMemberDeclaration> : FirSymbolOwner, FirDeclaration { abstract override val symbol: AbstractFirBasedSymbol abstract override get - - - } fun foo(candidate: Candidate) { diff --git a/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt b/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt index b40c904496c..8806823616d 100644 --- a/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt +++ b/compiler/testData/ir/irText/firProblems/putIfAbsent.kt.txt @@ -10,8 +10,5 @@ class Owner { map.putIfAbsent(p0 = x, p1 = y) /*~> Unit */ } - - - } diff --git a/compiler/testData/ir/irText/firProblems/v8arrayToList.kt.txt b/compiler/testData/ir/irText/firProblems/v8arrayToList.kt.txt index a01e40c8e3c..c6342544da1 100644 --- a/compiler/testData/ir/irText/firProblems/v8arrayToList.kt.txt +++ b/compiler/testData/ir/irText/firProblems/v8arrayToList.kt.txt @@ -5,9 +5,6 @@ class V8Array { } - - - } fun box(): String { diff --git a/compiler/testData/ir/irText/lambdas/localFunction.kt.txt b/compiler/testData/ir/irText/lambdas/localFunction.kt.txt index 2824390cd82..7251b63792a 100644 --- a/compiler/testData/ir/irText/lambdas/localFunction.kt.txt +++ b/compiler/testData/ir/irText/lambdas/localFunction.kt.txt @@ -8,7 +8,6 @@ fun outer() { } /*~> Unit */ } - local() } diff --git a/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.kt.txt b/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.kt.txt index 6f72c26c9af..174418edc75 100644 --- a/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.kt.txt +++ b/compiler/testData/ir/irText/lambdas/multipleImplicitReceivers.kt.txt @@ -5,9 +5,6 @@ object A { } - - - } object B { @@ -17,9 +14,6 @@ object B { } - - - } interface IFoo { @@ -28,9 +22,6 @@ interface IFoo { return B } - - - } interface IInvoke { @@ -38,9 +29,6 @@ interface IInvoke { return 42 } - - - } fun test(fooImpl: IFoo, invokeImpl: IInvoke) { diff --git a/compiler/testData/ir/irText/regressions/integerCoercionToT.kt.txt b/compiler/testData/ir/irText/regressions/integerCoercionToT.kt.txt index eff25bcc191..1b6f4313f15 100644 --- a/compiler/testData/ir/irText/regressions/integerCoercionToT.kt.txt +++ b/compiler/testData/ir/irText/regressions/integerCoercionToT.kt.txt @@ -1,7 +1,5 @@ interface CPointed { - - } inline fun CPointed.reinterpret(): T { @@ -15,9 +13,6 @@ class CInt32VarX : CPointed { } - - - } typealias CInt32Var = CInt32VarX @@ -39,9 +34,6 @@ class IdType : CPointed { field = value get - - - } fun foo(value: IdType, cv: CInt32VarX) { diff --git a/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.kt.txt b/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.kt.txt index 541186a002a..4b06006e664 100644 --- a/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.kt.txt +++ b/compiler/testData/ir/irText/regressions/newInference/fixationOrder1.kt.txt @@ -4,8 +4,6 @@ fun foo(): Function1 { interface Inv2 { - - } fun check(x: T, y: R, f: Function1): Inv2 { diff --git a/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt.txt b/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt.txt index 8848b86f172..5d5f67df51b 100644 --- a/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt.txt +++ b/compiler/testData/ir/irText/regressions/typeAliasCtorForGenericClass.kt.txt @@ -9,9 +9,6 @@ class A { field = q get - - - } typealias B = A diff --git a/compiler/testData/ir/irText/singletons/companion.kt.txt b/compiler/testData/ir/irText/singletons/companion.kt.txt index b1c4ca900ed..4b5b9297218 100644 --- a/compiler/testData/ir/irText/singletons/companion.kt.txt +++ b/compiler/testData/ir/irText/singletons/companion.kt.txt @@ -19,13 +19,7 @@ class Z { fun test() { } - - - } - - - } diff --git a/compiler/testData/ir/irText/singletons/enumEntry.kt.txt b/compiler/testData/ir/irText/singletons/enumEntry.kt.txt index 30252f8a6a6..6a61e578825 100644 --- a/compiler/testData/ir/irText/singletons/enumEntry.kt.txt +++ b/compiler/testData/ir/irText/singletons/enumEntry.kt.txt @@ -7,11 +7,6 @@ open enum class Z : Enum { ENTRY init = TODO("IrEnumConstructorCall") - - - - - fun values(): Array /* Synthetic body for ENUM_VALUES */ fun valueOf(value: String): Z /* Synthetic body for ENUM_VALUEOF */ diff --git a/compiler/testData/ir/irText/singletons/object.kt.txt b/compiler/testData/ir/irText/singletons/object.kt.txt index 2f030b0034c..dd40a2ad61b 100644 --- a/compiler/testData/ir/irText/singletons/object.kt.txt +++ b/compiler/testData/ir/irText/singletons/object.kt.txt @@ -19,13 +19,7 @@ object Z { Z.test() } - - - } - - - } diff --git a/compiler/testData/ir/irText/stubs/genericClassInDifferentModule_m1.kt.txt b/compiler/testData/ir/irText/stubs/genericClassInDifferentModule_m1.kt.txt index 50383959c5f..ef2fdb8760d 100644 --- a/compiler/testData/ir/irText/stubs/genericClassInDifferentModule_m1.kt.txt +++ b/compiler/testData/ir/irText/stubs/genericClassInDifferentModule_m1.kt.txt @@ -18,8 +18,5 @@ abstract class Base { abstract get abstract set - - - } diff --git a/compiler/testData/ir/irText/stubs/javaInnerClass.kt.txt b/compiler/testData/ir/irText/stubs/javaInnerClass.kt.txt index b194aaedf0d..c0929319ab2 100644 --- a/compiler/testData/ir/irText/stubs/javaInnerClass.kt.txt +++ b/compiler/testData/ir/irText/stubs/javaInnerClass.kt.txt @@ -9,9 +9,5 @@ class Test1 : J { field = .JInner() get - - - - } diff --git a/compiler/testData/ir/irText/types/castsInsideCoroutineInference.kt.txt b/compiler/testData/ir/irText/types/castsInsideCoroutineInference.kt.txt index 93f7ead5276..d35506ad777 100644 --- a/compiler/testData/ir/irText/types/castsInsideCoroutineInference.kt.txt +++ b/compiler/testData/ir/irText/types/castsInsideCoroutineInference.kt.txt @@ -81,9 +81,6 @@ class SafeCollector : FlowCollector { override suspend fun emit(value: T) { } - - - } @OptIn(markerClass = [ExperimentalTypeInference::class]) @@ -109,35 +106,24 @@ open class ChannelCoroutine { suspend fun sendFair(element: E) { } - - - } interface CoroutineScope { - - } interface Flow { abstract suspend fun collect(collector: FlowCollector) - - } interface FlowCollector { abstract suspend fun emit(value: T) - - } interface ReceiveChannel { - - } @OptIn(markerClass = [ExperimentalTypeInference::class]) @@ -149,16 +135,10 @@ interface ProducerScope : CoroutineScope, SendChannel { abstract val channel: SendChannel abstract get - - - - } interface SendChannel { abstract suspend fun send(e: E) - - } diff --git a/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.kt.txt b/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.kt.txt index c09549b34e2..40374b472e6 100644 --- a/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.kt.txt +++ b/compiler/testData/ir/irText/types/genericDelegatedDeepProperty.kt.txt @@ -14,30 +14,21 @@ class Value> { field = value2 get - - - } interface IDelegate1 { abstract operator fun getValue(t: T1, p: KProperty<*>): R1 - - } interface IDelegate2 { abstract operator fun getValue(t: T2, p: KProperty<*>): R2 - - } interface IR { abstract fun foo(): R - - } class CR : IR { @@ -55,9 +46,6 @@ class CR : IR { return .() } - - - } class P { @@ -75,9 +63,6 @@ class P { field = p2 get - - - } val Value>.additionalText: P /* by */ @@ -118,12 +103,8 @@ val Value>.additionalText: P /* by */ return t.foo() /*as Any? */ } - - - } - () } private get(): Any? { @@ -143,12 +124,8 @@ val Value>.additionalText: P /* by */ return t.().foo() /*as Any? */ } - - - } - () } private get(): Any? { @@ -159,12 +136,8 @@ val Value>.additionalText: P /* by */ return P(p1 = (, t).() /*as Any? */, p2 = (, t).() /*as Any? */) } - - - } - () } get(): P { diff --git a/compiler/testData/ir/irText/types/genericFunWithStar.kt.txt b/compiler/testData/ir/irText/types/genericFunWithStar.kt.txt index 4f25efa9c00..55c9fa2d75b 100644 --- a/compiler/testData/ir/irText/types/genericFunWithStar.kt.txt +++ b/compiler/testData/ir/irText/types/genericFunWithStar.kt.txt @@ -1,25 +1,17 @@ interface IBase { - - } interface IFoo : IBase { - - } interface IBar : IBase { - - } interface I where G : IFoo, G : IBar { - - } abstract class Box : IFoo, IBar where T : IFoo, T : IBar { @@ -34,8 +26,5 @@ abstract class Box : IFoo, IBar where T : IFoo, T : IBar { return .foo(tSerializer = serializers.get(index = 0)) } - - - } diff --git a/compiler/testData/ir/irText/types/genericPropertyReferenceType.kt.txt b/compiler/testData/ir/irText/types/genericPropertyReferenceType.kt.txt index efbea8dccb5..d1dc3ceac01 100644 --- a/compiler/testData/ir/irText/types/genericPropertyReferenceType.kt.txt +++ b/compiler/testData/ir/irText/types/genericPropertyReferenceType.kt.txt @@ -10,9 +10,6 @@ class C { get set - - - } var C.y: T diff --git a/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt.txt b/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt.txt index ff7854095ab..e2dfea3a07c 100644 --- a/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt.txt +++ b/compiler/testData/ir/irText/types/inStarProjectionInReceiverType.kt.txt @@ -4,8 +4,6 @@ interface Foo { abstract fun foo(x: T) - - } fun Foo<*>.testReceiver(): Int { diff --git a/compiler/testData/ir/irText/types/intersectionType1_NI.kt.txt b/compiler/testData/ir/irText/types/intersectionType1_NI.kt.txt index 568deb3416b..c057dd0ddf2 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_NI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_NI.kt.txt @@ -5,9 +5,6 @@ class In { } - - - } fun select(x: S, y: S): S { diff --git a/compiler/testData/ir/irText/types/intersectionType1_OI.kt.txt b/compiler/testData/ir/irText/types/intersectionType1_OI.kt.txt index b0234031d71..43d506d5c62 100644 --- a/compiler/testData/ir/irText/types/intersectionType1_OI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType1_OI.kt.txt @@ -5,9 +5,6 @@ class In { } - - - } fun select(x: S, y: S): S { diff --git a/compiler/testData/ir/irText/types/intersectionType2_NI.kt.txt b/compiler/testData/ir/irText/types/intersectionType2_NI.kt.txt index bb3cefa634b..574ca44d268 100644 --- a/compiler/testData/ir/irText/types/intersectionType2_NI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType2_NI.kt.txt @@ -1,13 +1,9 @@ interface A { - - } interface Foo { - - } open class B : Foo, A { @@ -17,9 +13,6 @@ open class B : Foo, A { } - - - } open class C : Foo, A { @@ -29,9 +22,6 @@ open class C : Foo, A { } - - - } fun run(fn: Function0): T { diff --git a/compiler/testData/ir/irText/types/intersectionType2_OI.kt.txt b/compiler/testData/ir/irText/types/intersectionType2_OI.kt.txt index bb3cefa634b..574ca44d268 100644 --- a/compiler/testData/ir/irText/types/intersectionType2_OI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType2_OI.kt.txt @@ -1,13 +1,9 @@ interface A { - - } interface Foo { - - } open class B : Foo, A { @@ -17,9 +13,6 @@ open class B : Foo, A { } - - - } open class C : Foo, A { @@ -29,9 +22,6 @@ open class C : Foo, A { } - - - } fun run(fn: Function0): T { diff --git a/compiler/testData/ir/irText/types/intersectionType3_NI.kt.txt b/compiler/testData/ir/irText/types/intersectionType3_NI.kt.txt index 73ba6697aad..cdf61cbb830 100644 --- a/compiler/testData/ir/irText/types/intersectionType3_NI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType3_NI.kt.txt @@ -1,7 +1,5 @@ interface In { - - } inline fun In.isT(): Boolean { @@ -18,38 +16,26 @@ fun sel(x: S, y: S): S { interface A { - - } interface B { - - } interface A1 : A { - - } interface A2 : A { - - } interface Z1 : A, B { - - } interface Z2 : A, B { - - } fun testInIs1(x: In, y: In): Boolean { diff --git a/compiler/testData/ir/irText/types/intersectionType3_OI.kt.txt b/compiler/testData/ir/irText/types/intersectionType3_OI.kt.txt index e1dc3be1f36..96efd3ff991 100644 --- a/compiler/testData/ir/irText/types/intersectionType3_OI.kt.txt +++ b/compiler/testData/ir/irText/types/intersectionType3_OI.kt.txt @@ -1,7 +1,5 @@ interface In { - - } inline fun In.isT(): Boolean { @@ -18,38 +16,26 @@ fun sel(x: S, y: S): S { interface A { - - } interface B { - - } interface A1 : A { - - } interface A2 : A { - - } interface Z1 : A, B { - - } interface Z2 : A, B { - - } fun testInIs1(x: In, y: In): Boolean { diff --git a/compiler/testData/ir/irText/types/javaWildcardType.kt.txt b/compiler/testData/ir/irText/types/javaWildcardType.kt.txt index 901940a1b58..cbc7cd71d0d 100644 --- a/compiler/testData/ir/irText/types/javaWildcardType.kt.txt +++ b/compiler/testData/ir/irText/types/javaWildcardType.kt.txt @@ -4,8 +4,6 @@ interface K { abstract fun kg1(c: Collection) abstract fun kg2(c: Collection) - - } class C : J, K { @@ -49,8 +47,5 @@ class C : J, K { #$$delegate_1.kg2(c = c) } - - - } diff --git a/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt.txt b/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt.txt index 7c5f4680669..71bb74b8449 100644 --- a/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt.txt +++ b/compiler/testData/ir/irText/types/localVariableOfIntersectionType_NI.kt.txt @@ -1,37 +1,26 @@ interface In { - - } interface Inv { abstract val t: T abstract get - - - } interface Z { abstract fun create(x: In, y: In): Inv - - } interface IA { abstract fun foo() - - } interface IB { abstract fun bar() - - } fun test(a: In, b: In, z: Z) { diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.kt.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.kt.txt index d8560ef46ae..f966819325d 100644 --- a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInDestructuringAssignment.kt.txt @@ -24,9 +24,6 @@ class P { return .() } - - - } class Q { @@ -52,9 +49,6 @@ class Q { return .() } - - - } fun test1() { diff --git a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.kt.txt b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.kt.txt index ffbc1791fe6..ce4f471c77a 100644 --- a/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/enhancedNullabilityInForLoop.kt.txt @@ -72,8 +72,6 @@ fun testForInArrayUse(j: J) { interface K { abstract fun arrayOfNotNull(): Array

- - } data class P { diff --git a/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.kt.txt b/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.kt.txt index 7638e6b31c5..11d1be9d399 100644 --- a/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/implicitNotNullOnPlatformType.kt.txt @@ -29,9 +29,6 @@ class MySet : Set { TODO() } - - - } fun test() { diff --git a/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.kt.txt b/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.kt.txt index 41e674060ba..6cbaf6a8c40 100644 --- a/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.kt.txt +++ b/compiler/testData/ir/irText/types/nullChecks/nullabilityAssertionOnExtensionReceiver.kt.txt @@ -11,9 +11,6 @@ class C { fun String.memberExtension() { } - - - } fun testExt() { diff --git a/compiler/testData/ir/irText/types/rawTypeInSignature.kt.txt b/compiler/testData/ir/irText/types/rawTypeInSignature.kt.txt index d412047c67b..43651f519ba 100644 --- a/compiler/testData/ir/irText/types/rawTypeInSignature.kt.txt +++ b/compiler/testData/ir/irText/types/rawTypeInSignature.kt.txt @@ -5,9 +5,6 @@ class GenericInv { } - - - } class GenericIn { @@ -17,9 +14,6 @@ class GenericIn { } - - - } class GenericOut { @@ -29,9 +23,6 @@ class GenericOut { } - - - } fun testReturnsRawGenericInv(j: JRaw): @FlexibleNullability @RawType GenericInv? { @@ -86,8 +77,5 @@ class KRaw : JRaw { #$$delegate_0.takesRawList(list = list) } - - - } diff --git a/compiler/testData/ir/irText/types/receiverOfIntersectionType.kt.txt b/compiler/testData/ir/irText/types/receiverOfIntersectionType.kt.txt index 10f3b64dd6c..c076079c977 100644 --- a/compiler/testData/ir/irText/types/receiverOfIntersectionType.kt.txt +++ b/compiler/testData/ir/irText/types/receiverOfIntersectionType.kt.txt @@ -1,20 +1,14 @@ interface K { - - } interface I : K { abstract fun ff() - - } interface J : K { - - } class A : I, J { @@ -27,9 +21,6 @@ class A : I, J { override fun ff() { } - - - } class B : I, J { @@ -42,9 +33,6 @@ class B : I, J { override fun ff() { } - - - } fun testIntersection(a: A, b: B) { diff --git a/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.kt.txt b/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.kt.txt index 76086dc681c..ccb1069a61a 100644 --- a/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.kt.txt +++ b/compiler/testData/ir/irText/types/smartCastOnFakeOverrideReceiver.kt.txt @@ -27,9 +27,6 @@ open class A { } } - - - } class B : A { @@ -53,12 +50,6 @@ class B : A { } } - - - - - - } open class GA { @@ -76,9 +67,6 @@ open class GA { field = 42 get - - - } class GB : GA { @@ -94,9 +82,5 @@ class GB : GA { a /*as GB<*, *> */.() /*~> Unit */ } - - - - } diff --git a/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt.txt b/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt.txt index 24b145f0ba0..8ee3aaef8ba 100644 --- a/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt.txt +++ b/compiler/testData/ir/irText/types/smartCastOnReceiverOfGenericType.kt.txt @@ -35,9 +35,6 @@ class Cell { get set - - - } class Outer { @@ -57,13 +54,7 @@ class Outer { fun use(x1: T1, x2: T2) { } - - - } - - - } diff --git a/compiler/testData/ir/irText/types/starProjection_OI.kt.txt b/compiler/testData/ir/irText/types/starProjection_OI.kt.txt index e112139fad3..37cb8a60b0c 100644 --- a/compiler/testData/ir/irText/types/starProjection_OI.kt.txt +++ b/compiler/testData/ir/irText/types/starProjection_OI.kt.txt @@ -1,7 +1,5 @@ interface Continuation { - - } abstract class C { @@ -13,7 +11,5 @@ abstract class C { abstract fun dispatchResumeWithException(exception: Throwable, continuation: Continuation<*>): Boolean - - }