diff --git a/compiler/testData/codegen/box/diagnostics/functions/inference/kt6176.txt b/compiler/testData/codegen/box/diagnostics/functions/inference/kt6176.txt deleted file mode 100644 index ebfdf25004c..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/inference/kt6176.txt +++ /dev/null @@ -1,6 +0,0 @@ -package - -public fun box(): kotlin.String -public fun foo(/*0*/ f: () -> R): R -public fun some(/*0*/ v: T?, /*1*/ b: T): T -public fun some1(/*0*/ v: T?, /*1*/ b: T): T diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObject1.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObject1.txt deleted file mode 100644 index 29670b42fcb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObject1.txt +++ /dev/null @@ -1,18 +0,0 @@ -package - -public fun box(): kotlin.String - -public final class A { - public constructor A() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - public companion object Companion { - private constructor Companion() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public final operator fun invoke(/*0*/ i: kotlin.Int): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - } -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObject2.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObject2.txt deleted file mode 100644 index 6ab8e9be9be..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObject2.txt +++ /dev/null @@ -1,24 +0,0 @@ -package - -public fun box(): kotlin.String -public operator fun B.invoke(/*0*/ i: kotlin.Int): kotlin.Int - -public final class A { - public constructor A() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - public companion object Companion : B { - private constructor Companion() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - } -} - -public interface B { - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass1.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass1.txt deleted file mode 100644 index 4722c798bb3..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass1.txt +++ /dev/null @@ -1,25 +0,0 @@ -package - -public fun box(): kotlin.String - -public final class A { - public constructor A() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - public final class Nested { - public constructor Nested() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - public companion object Companion { - private constructor Companion() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public final operator fun invoke(/*0*/ i: kotlin.Int): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - } - } -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass2.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass2.txt deleted file mode 100644 index 4722c798bb3..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnClassObjectOfNestedClass2.txt +++ /dev/null @@ -1,25 +0,0 @@ -package - -public fun box(): kotlin.String - -public final class A { - public constructor A() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - public final class Nested { - public constructor Nested() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - public companion object Companion { - private constructor Companion() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public final operator fun invoke(/*0*/ i: kotlin.Int): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - } - } -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnEnum1.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnEnum1.txt deleted file mode 100644 index 98f250eefb7..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnEnum1.txt +++ /dev/null @@ -1,25 +0,0 @@ -package - -public fun box(): kotlin.String - -public final enum class A : kotlin.Enum { - enum entry ONE - - enum entry TWO - - private constructor A() - public final override /*1*/ /*fake_override*/ val name: kotlin.String - public final override /*1*/ /*fake_override*/ val ordinal: kotlin.Int - protected final override /*1*/ /*fake_override*/ fun clone(): kotlin.Any - public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: A): kotlin.Int - public final override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - protected/*protected and package*/ final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun finalize(): kotlin.Unit - public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class! - public final override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public final operator fun invoke(/*0*/ i: kotlin.Int): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - // Static members - public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): A - public final /*synthesized*/ fun values(): kotlin.Array -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnEnum2.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnEnum2.txt deleted file mode 100644 index 0547a5bfbde..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnEnum2.txt +++ /dev/null @@ -1,25 +0,0 @@ -package - -public fun box(): kotlin.String -public operator fun A.invoke(/*0*/ i: kotlin.Int): kotlin.Int - -public final enum class A : kotlin.Enum { - enum entry ONE - - enum entry TWO - - private constructor A() - public final override /*1*/ /*fake_override*/ val name: kotlin.String - public final override /*1*/ /*fake_override*/ val ordinal: kotlin.Int - protected final override /*1*/ /*fake_override*/ fun clone(): kotlin.Any - public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: A): kotlin.Int - public final override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - protected/*protected and package*/ final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun finalize(): kotlin.Unit - public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class! - public final override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - // Static members - public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): A - public final /*synthesized*/ fun values(): kotlin.Array -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnImportedEnum1.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnImportedEnum1.txt deleted file mode 100644 index 98f250eefb7..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnImportedEnum1.txt +++ /dev/null @@ -1,25 +0,0 @@ -package - -public fun box(): kotlin.String - -public final enum class A : kotlin.Enum { - enum entry ONE - - enum entry TWO - - private constructor A() - public final override /*1*/ /*fake_override*/ val name: kotlin.String - public final override /*1*/ /*fake_override*/ val ordinal: kotlin.Int - protected final override /*1*/ /*fake_override*/ fun clone(): kotlin.Any - public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: A): kotlin.Int - public final override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - protected/*protected and package*/ final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun finalize(): kotlin.Unit - public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class! - public final override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public final operator fun invoke(/*0*/ i: kotlin.Int): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - // Static members - public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): A - public final /*synthesized*/ fun values(): kotlin.Array -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnImportedEnum2.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnImportedEnum2.txt deleted file mode 100644 index 0547a5bfbde..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnImportedEnum2.txt +++ /dev/null @@ -1,25 +0,0 @@ -package - -public fun box(): kotlin.String -public operator fun A.invoke(/*0*/ i: kotlin.Int): kotlin.Int - -public final enum class A : kotlin.Enum { - enum entry ONE - - enum entry TWO - - private constructor A() - public final override /*1*/ /*fake_override*/ val name: kotlin.String - public final override /*1*/ /*fake_override*/ val ordinal: kotlin.Int - protected final override /*1*/ /*fake_override*/ fun clone(): kotlin.Any - public final override /*1*/ /*fake_override*/ fun compareTo(/*0*/ other: A): kotlin.Int - public final override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - protected/*protected and package*/ final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun finalize(): kotlin.Unit - public final override /*1*/ /*fake_override*/ /*isHiddenForResolutionEverywhereBesideSupercalls*/ fun getDeclaringClass(): java.lang.Class! - public final override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - // Static members - public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): A - public final /*synthesized*/ fun values(): kotlin.Array -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnObject1.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnObject1.txt deleted file mode 100644 index cb0f049e350..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnObject1.txt +++ /dev/null @@ -1,11 +0,0 @@ -package - -public fun box(): kotlin.String -public operator fun A.invoke(/*0*/ i: kotlin.Int): kotlin.Int - -public object A { - private constructor A() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnObject2.txt b/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnObject2.txt deleted file mode 100644 index a0046e7528d..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/invoke/onObjects/invokeOnObject2.txt +++ /dev/null @@ -1,11 +0,0 @@ -package - -public fun box(): kotlin.String - -public object A { - private constructor A() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public final operator fun invoke(/*0*/ i: kotlin.Int): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.txt deleted file mode 100644 index 1e8d7ae0b64..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int = ..., /*1*/ e: kotlin.Any = ...): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs2.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs2.txt deleted file mode 100644 index 1e8d7ae0b64..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgs2.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int = ..., /*1*/ e: kotlin.Any = ...): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.txt deleted file mode 100644 index d816cb89fdb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsOverridden.txt +++ /dev/null @@ -1,19 +0,0 @@ -package - -public fun box(): kotlin.String - -public open class A { - public constructor A() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open fun foo(/*0*/ s: kotlin.String = ...): kotlin.String - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String -} - -public final class B : A { - public constructor B() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ tailrec fun foo(/*0*/ s: kotlin.String = ...): kotlin.String - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects.txt deleted file mode 100644 index 1018f5a15e5..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects.txt +++ /dev/null @@ -1,6 +0,0 @@ -package - -public var counter: kotlin.Int -public fun box(): kotlin.String -public fun inc(): kotlin.Int -public tailrec fun test(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ..., /*2*/ z: kotlin.Int = ...): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects2.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects2.txt deleted file mode 100644 index 1018f5a15e5..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffects2.txt +++ /dev/null @@ -1,6 +0,0 @@ -package - -public var counter: kotlin.Int -public fun box(): kotlin.String -public fun inc(): kotlin.Int -public tailrec fun test(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ..., /*2*/ z: kotlin.Int = ...): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffectsOld.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffectsOld.txt deleted file mode 100644 index 37dd610fbc9..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/defaultArgsWithSideEffectsOld.txt +++ /dev/null @@ -1,6 +0,0 @@ -package - -public var counter: kotlin.Int -public fun box(): kotlin.String -public fun calc(/*0*/ counter: kotlin.Int): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.String = ..., /*2*/ z: kotlin.String = ...): kotlin.String diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/extensionTailCall.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/extensionTailCall.txt deleted file mode 100644 index 48175789377..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/extensionTailCall.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun kotlin.Int.foo(/*0*/ x: kotlin.Int): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.txt deleted file mode 100644 index 7ecae67b1cb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNoTails.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun noTails(): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.txt deleted file mode 100644 index 34acf2c57af..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithNonTailRecursions.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public tailrec fun badTails(/*0*/ x: kotlin.Int): kotlin.Int -public fun box(): kotlin.String diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithoutAnnotation.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithoutAnnotation.txt deleted file mode 100644 index c0078f88d0c..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/functionWithoutAnnotation.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public fun withoutAnnotation(/*0*/ x: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixCall.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixCall.txt deleted file mode 100644 index dee88507fb8..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixCall.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec infix fun kotlin.Int.test(/*0*/ x: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixRecursiveCall.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixRecursiveCall.txt deleted file mode 100644 index da5502c74d6..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/infixRecursiveCall.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec infix fun kotlin.Int.foo(/*0*/ x: kotlin.Int): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.txt deleted file mode 100644 index 4322f6cd06e..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/insideElvis.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ counter: kotlin.Int): kotlin.Int? diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.txt deleted file mode 100644 index 26d9a88dbad..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/labeledThisReferences.txt +++ /dev/null @@ -1,21 +0,0 @@ -package - -public fun box(): kotlin.String - -public final class B { - public constructor B() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public final fun h2(/*0*/ x: kotlin.Any): kotlin.Unit - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public final fun makeC(): B.C - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - - public final inner class C { - public constructor C() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public final tailrec fun h(/*0*/ counter: kotlin.Int): kotlin.Unit - public final tailrec fun h2(/*0*/ x: kotlin.Any): kotlin.Unit - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - } -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.txt deleted file mode 100644 index 865b86f16eb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/loops.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.txt deleted file mode 100644 index 865b86f16eb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/multilevelBlocks.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.txt deleted file mode 100644 index 5fac038d69c..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realIteratorFoldl.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun kotlin.collections.Iterator.foldl(/*0*/ acc: A, /*1*/ foldFunction: (e: T, acc: A) -> A): A diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.txt deleted file mode 100644 index 328683f8d54..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringEscape.txt +++ /dev/null @@ -1,5 +0,0 @@ -package - -public fun box(): kotlin.String -public fun escapeChar(/*0*/ c: kotlin.Char): kotlin.String? -public tailrec fun kotlin.String.escape(/*0*/ i: kotlin.Int = ..., /*1*/ result: kotlin.text.StringBuilder /* = java.lang.StringBuilder */ = ...): kotlin.String diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.txt deleted file mode 100644 index a0d6f90a0f3..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/realStringRepeat.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun kotlin.String.repeat(/*0*/ num: kotlin.Int, /*1*/ acc: kotlin.text.StringBuilder /* = java.lang.StringBuilder */ = ...): kotlin.String diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.txt deleted file mode 100644 index 8c24a2ff136..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLambda.txt +++ /dev/null @@ -1,5 +0,0 @@ -package - -public fun bar(/*0*/ a: kotlin.Any): kotlin.Unit -public fun box(): kotlin.String -public tailrec fun foo(): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.txt deleted file mode 100644 index 091eb5de165..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveCallInLocalFunction.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun foo(): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveInnerFunction.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveInnerFunction.txt deleted file mode 100644 index 4b035952c5d..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/recursiveInnerFunction.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public fun test(): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.txt deleted file mode 100644 index 865b86f16eb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnIf.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.txt deleted file mode 100644 index fe405335127..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInCatch.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ counter: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.txt deleted file mode 100644 index fe405335127..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInFinally.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ counter: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.txt deleted file mode 100644 index fe405335127..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInIfInFinally.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ counter: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInParentheses.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInParentheses.txt deleted file mode 100644 index 4fd18812fe0..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInParentheses.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun foo(/*0*/ x: kotlin.Int): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.txt deleted file mode 100644 index fe405335127..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/returnInTry.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ counter: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.txt deleted file mode 100644 index 865b86f16eb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleBlock.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.txt deleted file mode 100644 index 865b86f16eb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturn.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.txt deleted file mode 100644 index 865b86f16eb..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/simpleReturnWithElse.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/sum.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/sum.txt deleted file mode 100644 index cc7cff75ba0..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/sum.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun sum(/*0*/ x: kotlin.Long, /*1*/ sum: kotlin.Long): kotlin.Long diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.txt deleted file mode 100644 index 4fd18812fe0..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInBlockInParentheses.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun foo(/*0*/ x: kotlin.Int): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInParentheses.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInParentheses.txt deleted file mode 100644 index 4fd18812fe0..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailCallInParentheses.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun foo(/*0*/ x: kotlin.Int): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.txt deleted file mode 100644 index 883abc7200c..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/tailRecursionInFinally.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ go: kotlin.Boolean): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.txt deleted file mode 100644 index c919fcdf798..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/thisReferences.txt +++ /dev/null @@ -1,13 +0,0 @@ -package - -public fun box(): kotlin.String - -public final class A { - public constructor A() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public final tailrec fun f1(/*0*/ c: kotlin.Int): kotlin.Unit - public final tailrec fun f2(/*0*/ c: kotlin.Int): kotlin.Unit - public final tailrec fun f3(/*0*/ a: A): kotlin.Unit - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String -} diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.txt deleted file mode 100644 index 6dd7b2f167f..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/unitBlocks.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun test(/*0*/ x: kotlin.Int): kotlin.Unit diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.txt deleted file mode 100644 index 1aa338bd9c6..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithCondition.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun withWhen(/*0*/ counter: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.txt deleted file mode 100644 index aa55835bd00..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithInRange.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun withWhen(/*0*/ counter: kotlin.Int, /*1*/ d: kotlin.Any): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithIs.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithIs.txt deleted file mode 100644 index aa55835bd00..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithIs.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun withWhen(/*0*/ counter: kotlin.Int, /*1*/ d: kotlin.Any): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.txt b/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.txt deleted file mode 100644 index 5426fa21dfd..00000000000 --- a/compiler/testData/codegen/box/diagnostics/functions/tailRecursion/whenWithoutCondition.txt +++ /dev/null @@ -1,4 +0,0 @@ -package - -public fun box(): kotlin.String -public tailrec fun withWhen2(/*0*/ counter: kotlin.Int): kotlin.Int diff --git a/compiler/testData/codegen/box/diagnostics/vararg/kt4172.txt b/compiler/testData/codegen/box/diagnostics/vararg/kt4172.txt deleted file mode 100644 index 2b01eebc3f1..00000000000 --- a/compiler/testData/codegen/box/diagnostics/vararg/kt4172.txt +++ /dev/null @@ -1,13 +0,0 @@ -package - -@kotlin.Suppress(names = {"UNCHECKED_CAST"}) public inline fun array(/*0*/ vararg t: T /*kotlin.Array*/): kotlin.Array -public fun box(): kotlin.String -public fun main(/*0*/ args: kotlin.Array): kotlin.Unit - -public object D { - private constructor D() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public final fun foo(/*0*/ array: kotlin.Array): kotlin.Array - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String -} diff --git a/compiler/testData/codegen/box/platformTypes/stopComputingOnInterdependentTypeParameters.txt b/compiler/testData/codegen/box/platformTypes/stopComputingOnInterdependentTypeParameters.txt deleted file mode 100644 index 3d58be5e120..00000000000 --- a/compiler/testData/codegen/box/platformTypes/stopComputingOnInterdependentTypeParameters.txt +++ /dev/null @@ -1,26 +0,0 @@ -package - -public fun f(/*0*/ h: H): kotlin.Unit - -public abstract class AbstractMessageLite!, /*1*/ BuilderType : AbstractMessageLite.Builder!> { - public constructor AbstractMessageLite!, /*1*/ BuilderType : AbstractMessageLite.Builder!>() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - public open fun writeDelimitedTo(): kotlin.Unit - - public abstract class Builder!, /*1*/ BuilderType : AbstractMessageLite.Builder!> { - public constructor Builder!, /*1*/ BuilderType : AbstractMessageLite.Builder!>() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - } -} - -public open class H : AbstractMessageLite<(raw) *, (raw) *> { - public constructor H() - public open override /*1*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*1*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String - public open override /*1*/ /*fake_override*/ fun writeDelimitedTo(): kotlin.Unit -}