diff --git a/compiler/testData/diagnostics/tests/BacktickNames.txt b/compiler/testData/diagnostics/tests/BacktickNames.txt index 54eb7111d2f..64f5d36ed94 100644 --- a/compiler/testData/diagnostics/tests/BacktickNames.txt +++ b/compiler/testData/diagnostics/tests/BacktickNames.txt @@ -61,9 +61,9 @@ public final data class Data { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ...): Data - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final class `class:name` { diff --git a/compiler/testData/diagnostics/tests/Underscore.txt b/compiler/testData/diagnostics/tests/Underscore.txt index 135b51a3217..7731308c25c 100644 --- a/compiler/testData/diagnostics/tests/Underscore.txt +++ b/compiler/testData/diagnostics/tests/Underscore.txt @@ -12,9 +12,9 @@ public fun doIt(/*0*/ f: (kotlin.Any?) -> kotlin.Any?): kotlin.Any? public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ...): Pair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final class _ { diff --git a/compiler/testData/diagnostics/tests/annotations/MultiDeclaration.txt b/compiler/testData/diagnostics/tests/annotations/MultiDeclaration.txt index 636d002c734..5948f4bc82f 100644 --- a/compiler/testData/diagnostics/tests/annotations/MultiDeclaration.txt +++ b/compiler/testData/diagnostics/tests/annotations/MultiDeclaration.txt @@ -16,7 +16,7 @@ public final data class Pair { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ...): Pair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/annotations/forParameterAnnotationResolve.txt b/compiler/testData/diagnostics/tests/annotations/forParameterAnnotationResolve.txt index ada91290c6f..0d6d3a6c62b 100644 --- a/compiler/testData/diagnostics/tests/annotations/forParameterAnnotationResolve.txt +++ b/compiler/testData/diagnostics/tests/annotations/forParameterAnnotationResolve.txt @@ -10,9 +10,9 @@ public final data class A { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final annotation class Ann : kotlin.Annotation { diff --git a/compiler/testData/diagnostics/tests/annotations/onMultiDeclaration.txt b/compiler/testData/diagnostics/tests/annotations/onMultiDeclaration.txt index 131183079b8..897fa6c06d0 100644 --- a/compiler/testData/diagnostics/tests/annotations/onMultiDeclaration.txt +++ b/compiler/testData/diagnostics/tests/annotations/onMultiDeclaration.txt @@ -9,9 +9,9 @@ public final data class P { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ a: kotlin.Int = ..., /*1*/ b: kotlin.Int = ...): P - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final annotation class ann : kotlin.Annotation { diff --git a/compiler/testData/diagnostics/tests/annotations/options/multiDeclaration.txt b/compiler/testData/diagnostics/tests/annotations/options/multiDeclaration.txt index 5be8a82f139..140d711766b 100644 --- a/compiler/testData/diagnostics/tests/annotations/options/multiDeclaration.txt +++ b/compiler/testData/diagnostics/tests/annotations/options/multiDeclaration.txt @@ -16,7 +16,7 @@ public final data class Pair { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ a: kotlin.Int = ..., /*1*/ b: kotlin.Int = ...): Pair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/annotations/options/target.txt b/compiler/testData/diagnostics/tests/annotations/options/target.txt index 088428331e8..eee6aa4b0d9 100644 --- a/compiler/testData/diagnostics/tests/annotations/options/target.txt +++ b/compiler/testData/diagnostics/tests/annotations/options/target.txt @@ -5,9 +5,9 @@ package public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): My - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } @kotlin.annotation.Target(allowedTargets = {AnnotationTarget.CLASS}) public final annotation class base : kotlin.Annotation { diff --git a/compiler/testData/diagnostics/tests/callableReference/ea81649_errorPropertyLHS.txt b/compiler/testData/diagnostics/tests/callableReference/ea81649_errorPropertyLHS.txt index 26647d8f03d..718354477af 100644 --- a/compiler/testData/diagnostics/tests/callableReference/ea81649_errorPropertyLHS.txt +++ b/compiler/testData/diagnostics/tests/callableReference/ea81649_errorPropertyLHS.txt @@ -15,7 +15,7 @@ public final data class User { public final val surname: kotlin.String public final operator /*synthesized*/ fun component1(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ surname: kotlin.String = ...): User - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt4126.txt b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt4126.txt index 7e7beab89d7..9381c9dd8b5 100644 --- a/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt4126.txt +++ b/compiler/testData/diagnostics/tests/controlFlowAnalysis/kt4126.txt @@ -8,7 +8,7 @@ public final data class ProductGroup { public final operator /*synthesized*/ fun component1(): kotlin.String public final operator /*synthesized*/ fun component2(): ProductGroup? public final /*synthesized*/ fun copy(/*0*/ short_name: kotlin.String = ..., /*1*/ parent: ProductGroup? = ...): ProductGroup - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/componentNamedComponent1.txt b/compiler/testData/diagnostics/tests/dataClasses/componentNamedComponent1.txt index 42d6e64c08f..f57376005d0 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/componentNamedComponent1.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/componentNamedComponent1.txt @@ -7,7 +7,7 @@ public final data class A { public final val component1: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ component1: kotlin.Int = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/conflictingCopyOverloads.txt b/compiler/testData/diagnostics/tests/dataClasses/conflictingCopyOverloads.txt index 773abd4be96..e261abcea66 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/conflictingCopyOverloads.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/conflictingCopyOverloads.txt @@ -9,7 +9,7 @@ public final data class A { public final fun copy(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.String): A public final fun copy(/*0*/ x: kotlin.Int, /*1*/ y: kotlin.String): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/conflictingOverloads.txt b/compiler/testData/diagnostics/tests/dataClasses/conflictingOverloads.txt index c426f360172..d34627dafa1 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/conflictingOverloads.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/conflictingOverloads.txt @@ -9,7 +9,7 @@ public final data class A { public final fun component2(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/copyOfPrivateClass.txt b/compiler/testData/diagnostics/tests/dataClasses/copyOfPrivateClass.txt index 18ed9e50aa3..6f5103bef5d 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/copyOfPrivateClass.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/copyOfPrivateClass.txt @@ -11,8 +11,8 @@ public final class Outer { public final val c: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ c: kotlin.Int = ...): Outer.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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } } diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassNoName.txt b/compiler/testData/diagnostics/tests/dataClasses/dataClassNoName.txt index 76bb06d100f..8e4fbb92584 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassNoName.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassNoName.txt @@ -3,9 +3,9 @@ package public final data class { public constructor () public final /*synthesized*/ fun copy(): - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public data interface { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataClassVarargParam.txt b/compiler/testData/diagnostics/tests/dataClasses/dataClassVarargParam.txt index 4f6f644a84c..36a76bac9e7 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataClassVarargParam.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataClassVarargParam.txt @@ -7,15 +7,15 @@ public final data class My { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Array public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ vararg y: kotlin.String /*kotlin.Array*/ = ...): My - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final data class Your { public constructor Your(/*0*/ vararg z: kotlin.String /*kotlin.Array*/) public final /*synthesized*/ fun copy(/*0*/ vararg z: kotlin.String /*kotlin.Array*/): Your - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataInheritance.txt b/compiler/testData/diagnostics/tests/dataClasses/dataInheritance.txt index 78d9968ee02..0e53a3d9144 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataInheritance.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataInheritance.txt @@ -5,9 +5,9 @@ public abstract data class Base { public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): Base - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final data class Complex : SuperInterface, SuperClass { @@ -15,9 +15,9 @@ public final data class Complex : SuperInterface, SuperClass { public final val y: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ y: kotlin.Int = ...): Complex - public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*2*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*2*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*2*/ /*synthesized*/ fun toString(): kotlin.String } public final class Derived : Base { @@ -39,9 +39,9 @@ public final data class Nasty : Base { public final operator /*synthesized*/ fun component2(): kotlin.Int public final override /*1*/ /*fake_override*/ fun copy(/*0*/ x: kotlin.Int = ...): Base public final /*synthesized*/ fun copy(/*0*/ z: kotlin.Int = ..., /*1*/ y: kotlin.Int = ...): Nasty - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final data class SubData : Complex { @@ -51,9 +51,9 @@ public final data class SubData : Complex { public final override /*1*/ /*synthesized*/ fun component1(): kotlin.String public final override /*1*/ /*fake_override*/ fun copy(/*0*/ y: kotlin.Int = ...): Complex public final /*synthesized*/ fun copy(/*0*/ sss: kotlin.String = ...): SubData - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public open class SuperClass { diff --git a/compiler/testData/diagnostics/tests/dataClasses/dataObject.txt b/compiler/testData/diagnostics/tests/dataClasses/dataObject.txt index b514c78534d..b270a54a34b 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/dataObject.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/dataObject.txt @@ -7,7 +7,7 @@ public data object Object { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ...): Object - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/emptyConstructor.txt b/compiler/testData/diagnostics/tests/dataClasses/emptyConstructor.txt index d89fcfc4d27..feff564669c 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/emptyConstructor.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/emptyConstructor.txt @@ -5,7 +5,7 @@ public fun foo(/*0*/ a: A): kotlin.Unit public final data class A { public constructor A() public final /*synthesized*/ fun copy(): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/extensionComponentsOnNullable.txt b/compiler/testData/diagnostics/tests/dataClasses/extensionComponentsOnNullable.txt index 85448291dc5..0545a580a9e 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/extensionComponentsOnNullable.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/extensionComponentsOnNullable.txt @@ -21,7 +21,7 @@ public final data class NormalData { public final operator /*synthesized*/ fun component1(): T public final operator /*synthesized*/ fun component2(): T public final /*synthesized*/ fun copy(/*0*/ x: T = ..., /*1*/ y: T = ...): NormalData - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/implementTraitWhichHasComponent1.txt b/compiler/testData/diagnostics/tests/dataClasses/implementTraitWhichHasComponent1.txt index 33f5dce3721..ccc4a790828 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/implementTraitWhichHasComponent1.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/implementTraitWhichHasComponent1.txt @@ -5,9 +5,9 @@ public final data class A : T { public final val x: kotlin.Int public final operator override /*1*/ /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public interface T { diff --git a/compiler/testData/diagnostics/tests/dataClasses/implementTraitWhichHasFinalComponent1.txt b/compiler/testData/diagnostics/tests/dataClasses/implementTraitWhichHasFinalComponent1.txt index a7811b0adde..e574f259e36 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/implementTraitWhichHasFinalComponent1.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/implementTraitWhichHasFinalComponent1.txt @@ -5,9 +5,9 @@ public final data class A : T { public final val x: kotlin.Int public final operator override /*1*/ /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public interface T { diff --git a/compiler/testData/diagnostics/tests/dataClasses/innerDataClass.txt b/compiler/testData/diagnostics/tests/dataClasses/innerDataClass.txt index 012fef42fc5..d993ede68e9 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/innerDataClass.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/innerDataClass.txt @@ -11,8 +11,8 @@ public final class Outer { public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): Outer.Inner - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } } diff --git a/compiler/testData/diagnostics/tests/dataClasses/innerOuterDataClass.txt b/compiler/testData/diagnostics/tests/dataClasses/innerOuterDataClass.txt index 4c6f3154d8a..2942ce65f37 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/innerOuterDataClass.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/innerOuterDataClass.txt @@ -5,7 +5,7 @@ public final data class Outer { public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): Outer - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/multiDeclaration.txt b/compiler/testData/diagnostics/tests/dataClasses/multiDeclaration.txt index bdfbdc1aa80..71ad8199567 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/multiDeclaration.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/multiDeclaration.txt @@ -9,7 +9,7 @@ public final data class A { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/multiDeclarationFor.txt b/compiler/testData/diagnostics/tests/dataClasses/multiDeclarationFor.txt index e4e6c7a8e49..0010fc51e81 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/multiDeclarationFor.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/multiDeclarationFor.txt @@ -9,7 +9,7 @@ public final data class A { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/noConstructor.txt b/compiler/testData/diagnostics/tests/dataClasses/noConstructor.txt index d89fcfc4d27..feff564669c 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/noConstructor.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/noConstructor.txt @@ -5,7 +5,7 @@ public fun foo(/*0*/ a: A): kotlin.Unit public final data class A { public constructor A() public final /*synthesized*/ fun copy(): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/oneValParam.txt b/compiler/testData/diagnostics/tests/dataClasses/oneValParam.txt index 728b7ca1151..b5d8bc94953 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/oneValParam.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/oneValParam.txt @@ -7,7 +7,7 @@ public final data class A { public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/repeatedProperties.txt b/compiler/testData/diagnostics/tests/dataClasses/repeatedProperties.txt index 8a7f4c25cdc..706ac9c2726 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/repeatedProperties.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/repeatedProperties.txt @@ -10,9 +10,9 @@ public final data class A1 { public final operator /*synthesized*/ fun component2(): kotlin.String public final operator /*synthesized*/ fun component3(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ..., /*2*/ x: kotlin.Int = ...): A1 - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final data class A2 { @@ -23,9 +23,9 @@ public final data class A2 { public final operator /*synthesized*/ fun component1(): kotlin.String public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ...): A2 - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final data class A3 { @@ -35,7 +35,7 @@ public final data class A3 { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ : kotlin.Int = ..., /*1*/ : kotlin.Int = ...): A3 - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/sealedDataClass.txt b/compiler/testData/diagnostics/tests/dataClasses/sealedDataClass.txt index 414072771e3..5a1f87b58de 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/sealedDataClass.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/sealedDataClass.txt @@ -5,9 +5,9 @@ public sealed data class My { public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): My - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String public final class His : My { public constructor His(/*0*/ y: kotlin.Int) diff --git a/compiler/testData/diagnostics/tests/dataClasses/strange.txt b/compiler/testData/diagnostics/tests/dataClasses/strange.txt index ec6dbdffbeb..d3ff4f8e835 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/strange.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/strange.txt @@ -17,7 +17,7 @@ public final data enum class First : kotlin.Enum { 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 + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String // Static members public final /*synthesized*/ fun valueOf(/*0*/ value: kotlin.String): First @@ -29,17 +29,17 @@ public final data annotation class Fourth : kotlin.Annotation { public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): Fourth - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public data object Second { private constructor Second() public final /*synthesized*/ fun copy(): Second - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public data interface Third { diff --git a/compiler/testData/diagnostics/tests/dataClasses/twoValParams.txt b/compiler/testData/diagnostics/tests/dataClasses/twoValParams.txt index bdfbdc1aa80..71ad8199567 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/twoValParams.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/twoValParams.txt @@ -9,7 +9,7 @@ public final data class A { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/dataClasses/twoVarParams.txt b/compiler/testData/diagnostics/tests/dataClasses/twoVarParams.txt index b59cfc837c4..16527c98f73 100644 --- a/compiler/testData/diagnostics/tests/dataClasses/twoVarParams.txt +++ b/compiler/testData/diagnostics/tests/dataClasses/twoVarParams.txt @@ -9,7 +9,7 @@ public final data class A { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.String = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/declarationChecks/multiDeclarations/kt2829.txt b/compiler/testData/diagnostics/tests/declarationChecks/multiDeclarations/kt2829.txt index 7fe15992cee..9143da21ec4 100644 --- a/compiler/testData/diagnostics/tests/declarationChecks/multiDeclarations/kt2829.txt +++ b/compiler/testData/diagnostics/tests/declarationChecks/multiDeclarations/kt2829.txt @@ -12,8 +12,8 @@ package test { public final operator /*synthesized*/ fun component1(): A public final operator /*synthesized*/ fun component2(): B public final /*synthesized*/ fun copy(/*0*/ a: A = ..., /*1*/ b: B = ...): test.Pair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } } diff --git a/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/dataClassCopy.txt b/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/dataClassCopy.txt index 6d1f584217f..9b2a5ede18a 100644 --- a/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/dataClassCopy.txt +++ b/compiler/testData/diagnostics/tests/duplicateJvmSignature/specialNames/dataClassCopy.txt @@ -6,7 +6,7 @@ public final data class C { public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ c: kotlin.Int = ...): C public final fun `copy$default`(/*0*/ c: C, /*1*/ x: kotlin.Int, /*2*/ m: kotlin.Int, /*3*/ mh: kotlin.Any): C - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/nullableTypes/safeAccessOnUnit.txt b/compiler/testData/diagnostics/tests/nullableTypes/safeAccessOnUnit.txt index c42e6700292..6923992e38e 100644 --- a/compiler/testData/diagnostics/tests/nullableTypes/safeAccessOnUnit.txt +++ b/compiler/testData/diagnostics/tests/nullableTypes/safeAccessOnUnit.txt @@ -7,7 +7,7 @@ public final data class My { public final val x: kotlin.Unit public final operator /*synthesized*/ fun component1(): kotlin.Unit public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Unit = ...): My - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/operatorsOverloading/kt3450.txt b/compiler/testData/diagnostics/tests/operatorsOverloading/kt3450.txt index 65f132f7c6c..aec9d60a8ad 100644 --- a/compiler/testData/diagnostics/tests/operatorsOverloading/kt3450.txt +++ b/compiler/testData/diagnostics/tests/operatorsOverloading/kt3450.txt @@ -31,7 +31,7 @@ public final data class Pair { public final operator /*synthesized*/ fun component1(): A public final operator /*synthesized*/ fun component2(): B public final /*synthesized*/ fun copy(/*0*/ first: A = ..., /*1*/ second: B = ...): Pair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/regressions/kt7585/base.txt b/compiler/testData/diagnostics/tests/regressions/kt7585/base.txt index 75b4c10a526..b26b59240a2 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt7585/base.txt +++ b/compiler/testData/diagnostics/tests/regressions/kt7585/base.txt @@ -31,9 +31,9 @@ public final data class Pair { public final operator /*synthesized*/ fun component1(): T public final operator /*synthesized*/ fun component2(): T public final /*synthesized*/ fun copy(/*0*/ a: T = ..., /*1*/ b: T = ...): Pair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final class TheirWrapper : Wrapper { diff --git a/compiler/testData/diagnostics/tests/regressions/kt7585/java.txt b/compiler/testData/diagnostics/tests/regressions/kt7585/java.txt index b3a30a23db5..2a8e1b387fd 100644 --- a/compiler/testData/diagnostics/tests/regressions/kt7585/java.txt +++ b/compiler/testData/diagnostics/tests/regressions/kt7585/java.txt @@ -31,9 +31,9 @@ public final data class Pair { public final operator /*synthesized*/ fun component1(): T public final operator /*synthesized*/ fun component2(): T public final /*synthesized*/ fun copy(/*0*/ a: T = ..., /*1*/ b: T = ...): Pair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final class TheirWrapper : Wrapper { diff --git a/compiler/testData/diagnostics/tests/resolve/priority/synthesizedMembersVsExtension.txt b/compiler/testData/diagnostics/tests/resolve/priority/synthesizedMembersVsExtension.txt index 0ac093b3d7e..4e58fcccbfd 100644 --- a/compiler/testData/diagnostics/tests/resolve/priority/synthesizedMembersVsExtension.txt +++ b/compiler/testData/diagnostics/tests/resolve/priority/synthesizedMembersVsExtension.txt @@ -8,7 +8,7 @@ public final data class A { public final val foo: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ foo: kotlin.Int = ...): 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 open override /*1*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/sealed/ExhaustiveWhenWithAdditionalMember.txt b/compiler/testData/diagnostics/tests/sealed/ExhaustiveWhenWithAdditionalMember.txt index 7bdb773312b..b8887b3f613 100644 --- a/compiler/testData/diagnostics/tests/sealed/ExhaustiveWhenWithAdditionalMember.txt +++ b/compiler/testData/diagnostics/tests/sealed/ExhaustiveWhenWithAdditionalMember.txt @@ -51,8 +51,8 @@ public sealed class Sealed { public final operator /*synthesized*/ fun component1(): kotlin.Int public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ..., /*1*/ y: kotlin.Int = ...): Sealed.Tuple - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } } diff --git a/compiler/testData/diagnostics/tests/secondaryConstructors/dataClasses.txt b/compiler/testData/diagnostics/tests/secondaryConstructors/dataClasses.txt index c5737d52ea5..1eac36f90a3 100644 --- a/compiler/testData/diagnostics/tests/secondaryConstructors/dataClasses.txt +++ b/compiler/testData/diagnostics/tests/secondaryConstructors/dataClasses.txt @@ -6,9 +6,9 @@ public final data class A1 { public final val x: kotlin.String public final operator /*synthesized*/ fun component1(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ x: kotlin.String = ...): A1 - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final data class A2 { @@ -19,9 +19,9 @@ public final data class A2 { public final operator /*synthesized*/ fun component1(): kotlin.String public final operator /*synthesized*/ fun component2(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ y: kotlin.String = ..., /*1*/ z: kotlin.Int = ...): A2 - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final data class A3 { @@ -34,7 +34,7 @@ public final data class A3 { public final data class A4 { internal constructor A4() public final /*synthesized*/ fun copy(): A4 - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/inference/kt1355.txt b/compiler/testData/diagnostics/tests/smartCasts/inference/kt1355.txt index 8b7ad241291..52f1dd10861 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/inference/kt1355.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/inference/kt1355.txt @@ -13,8 +13,8 @@ package a { public final var tagName: kotlin.String public final operator /*synthesized*/ fun component1(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ tagName: kotlin.String = ...): a.Tag - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } } diff --git a/compiler/testData/diagnostics/tests/smartCasts/kt3711.txt b/compiler/testData/diagnostics/tests/smartCasts/kt3711.txt index e1581fe54a1..68195a8e67b 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/kt3711.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/kt3711.txt @@ -10,7 +10,7 @@ public final data class StringPair { public final operator /*synthesized*/ fun component1(): kotlin.String public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ first: kotlin.String = ..., /*1*/ second: kotlin.String = ...): StringPair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/kt3899.txt b/compiler/testData/diagnostics/tests/smartCasts/kt3899.txt index 0cd20d22b3e..38b90caa69b 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/kt3899.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/kt3899.txt @@ -11,7 +11,7 @@ public final data class StringPair { public final operator /*synthesized*/ fun component1(): kotlin.String public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ first: kotlin.String = ..., /*1*/ second: kotlin.String = ...): StringPair - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/propertyAsCondition.txt b/compiler/testData/diagnostics/tests/smartCasts/propertyAsCondition.txt index ee30f3d295d..130d8e0fdb7 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/propertyAsCondition.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/propertyAsCondition.txt @@ -9,7 +9,7 @@ public final data class My { public final val x: kotlin.Boolean? public final operator /*synthesized*/ fun component1(): kotlin.Boolean? public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Boolean? = ...): My - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/safecalls/property.txt b/compiler/testData/diagnostics/tests/smartCasts/safecalls/property.txt index 0c668999a23..55dde7b763f 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/safecalls/property.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/safecalls/property.txt @@ -7,7 +7,7 @@ public final data class MyClass { public final val x: kotlin.String? public final operator /*synthesized*/ fun component1(): kotlin.String? public final /*synthesized*/ fun copy(/*0*/ x: kotlin.String? = ...): MyClass - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/doWhileWithBreak.txt b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/doWhileWithBreak.txt index 571281d3360..5e4781d2e3c 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/doWhileWithBreak.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/doWhileWithBreak.txt @@ -8,8 +8,8 @@ public final data class SomeObject { public final operator /*synthesized*/ fun component1(): SomeObject? public final /*synthesized*/ fun copy(/*0*/ n: SomeObject? = ...): SomeObject public final fun doSomething(): kotlin.Boolean - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int public final fun next(): SomeObject? - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEach.txt b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEach.txt index 8ba36a01d1a..22721af0e97 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEach.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEach.txt @@ -8,8 +8,8 @@ public final data class SomeObject { public final operator /*synthesized*/ fun component1(): SomeObject? public final /*synthesized*/ fun copy(/*0*/ n: SomeObject? = ...): SomeObject public final fun doSomething(): kotlin.Unit - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int public final fun next(): SomeObject? - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEachWithBreak.txt b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEachWithBreak.txt index 8ba36a01d1a..22721af0e97 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEachWithBreak.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEachWithBreak.txt @@ -8,8 +8,8 @@ public final data class SomeObject { public final operator /*synthesized*/ fun component1(): SomeObject? public final /*synthesized*/ fun copy(/*0*/ n: SomeObject? = ...): SomeObject public final fun doSomething(): kotlin.Unit - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int public final fun next(): SomeObject? - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEachWithContinue.txt b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEachWithContinue.txt index 8ba36a01d1a..22721af0e97 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEachWithContinue.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/forEachWithContinue.txt @@ -8,8 +8,8 @@ public final data class SomeObject { public final operator /*synthesized*/ fun component1(): SomeObject? public final /*synthesized*/ fun copy(/*0*/ n: SomeObject? = ...): SomeObject public final fun doSomething(): kotlin.Unit - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int public final fun next(): SomeObject? - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/infiniteWhileWithBreak.txt b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/infiniteWhileWithBreak.txt index 571281d3360..5e4781d2e3c 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/infiniteWhileWithBreak.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/infiniteWhileWithBreak.txt @@ -8,8 +8,8 @@ public final data class SomeObject { public final operator /*synthesized*/ fun component1(): SomeObject? public final /*synthesized*/ fun copy(/*0*/ n: SomeObject? = ...): SomeObject public final fun doSomething(): kotlin.Boolean - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int public final fun next(): SomeObject? - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/iterations.txt b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/iterations.txt index 712d67b36cc..fb9fadfdf9b 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/iterations.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/iterations.txt @@ -8,8 +8,8 @@ public final data class SomeObject { public final operator /*synthesized*/ fun component1(): SomeObject? public final /*synthesized*/ fun copy(/*0*/ n: SomeObject? = ...): SomeObject public final fun doSomething(): kotlin.Unit - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int public final fun next(): SomeObject? - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/whileWithBreak.txt b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/whileWithBreak.txt index 571281d3360..5e4781d2e3c 100644 --- a/compiler/testData/diagnostics/tests/smartCasts/varnotnull/whileWithBreak.txt +++ b/compiler/testData/diagnostics/tests/smartCasts/varnotnull/whileWithBreak.txt @@ -8,8 +8,8 @@ public final data class SomeObject { public final operator /*synthesized*/ fun component1(): SomeObject? public final /*synthesized*/ fun copy(/*0*/ n: SomeObject? = ...): SomeObject public final fun doSomething(): kotlin.Boolean - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int public final fun next(): SomeObject? - public open override /*1*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/tests/sourceCompatibility/noDataClassInheritance.txt b/compiler/testData/diagnostics/tests/sourceCompatibility/noDataClassInheritance.txt index 7d5e02b560e..57c30c711d6 100644 --- a/compiler/testData/diagnostics/tests/sourceCompatibility/noDataClassInheritance.txt +++ b/compiler/testData/diagnostics/tests/sourceCompatibility/noDataClassInheritance.txt @@ -11,9 +11,9 @@ public abstract data class Base { public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): Base - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public final data class Complex : Allowed, NotAllowed { @@ -21,9 +21,9 @@ public final data class Complex : Allowed, NotAllowed { public final val y: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ y: kotlin.Int = ...): Complex - public open override /*2*/ /*fake_override*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean - public open override /*2*/ /*fake_override*/ fun hashCode(): kotlin.Int - public open override /*2*/ /*fake_override*/ fun toString(): kotlin.String + public open override /*2*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*2*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*2*/ /*synthesized*/ fun toString(): kotlin.String } public final class Derived : Base { @@ -45,9 +45,9 @@ public final data class Nasty : Base { public final operator /*synthesized*/ fun component2(): kotlin.Int public final override /*1*/ /*fake_override*/ fun copy(/*0*/ x: kotlin.Int = ...): Base public final /*synthesized*/ fun copy(/*0*/ z: kotlin.Int = ..., /*1*/ y: kotlin.Int = ...): Nasty - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } public open class NotAllowed { diff --git a/compiler/testData/diagnostics/testsWithStdLib/functionLiterals/pseudocodeMemoryOverhead.txt b/compiler/testData/diagnostics/testsWithStdLib/functionLiterals/pseudocodeMemoryOverhead.txt index 8ef3e5656f0..0fcadba2738 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/functionLiterals/pseudocodeMemoryOverhead.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/functionLiterals/pseudocodeMemoryOverhead.txt @@ -42,9 +42,9 @@ private final data class BinaryOperationKey { public final operator /*synthesized*/ fun component2(): CompileTimeType public final operator /*synthesized*/ fun component3(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ f: CompileTimeType = ..., /*1*/ g: CompileTimeType = ..., /*2*/ functionName: kotlin.String = ...): BinaryOperationKey - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } private final class CompileTimeType { @@ -61,7 +61,7 @@ private final data class UnaryOperationKey { public final operator /*synthesized*/ fun component1(): CompileTimeType public final operator /*synthesized*/ fun component2(): kotlin.String public final /*synthesized*/ fun copy(/*0*/ f: CompileTimeType = ..., /*1*/ functionName: kotlin.String = ...): UnaryOperationKey - 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int + public open override /*1*/ /*synthesized*/ fun toString(): kotlin.String } diff --git a/compiler/testData/diagnostics/testsWithStdLib/regression/ea66827_dataClassWrongToString.txt b/compiler/testData/diagnostics/testsWithStdLib/regression/ea66827_dataClassWrongToString.txt index 5e0d49e1e35..55ffa785fe9 100644 --- a/compiler/testData/diagnostics/testsWithStdLib/regression/ea66827_dataClassWrongToString.txt +++ b/compiler/testData/diagnostics/testsWithStdLib/regression/ea66827_dataClassWrongToString.txt @@ -5,8 +5,8 @@ public final data class A { public final val x: kotlin.Int public final operator /*synthesized*/ fun component1(): kotlin.Int public final /*synthesized*/ fun copy(/*0*/ x: kotlin.Int = ...): 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*/ /*synthesized*/ fun equals(/*0*/ other: kotlin.Any?): kotlin.Boolean + public open override /*1*/ /*synthesized*/ fun hashCode(): kotlin.Int public final fun toArray(): kotlin.IntArray public open override /*1*/ fun toString(): kotlin.collections.List }