From 213967e25c36faa241e0ee51d5b9da89d02d48e3 Mon Sep 17 00:00:00 2001 From: Kirill Rakhman Date: Tue, 23 Jan 2024 12:45:17 +0100 Subject: [PATCH] [Tests] Fix incorrect code in tests --- .../ConstructorVsFunOverload.fir.kt | 2 +- .../ConstructorVsFunOverload.kt | 2 +- .../ConstructorVsFunOverload.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.fir.kt b/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.fir.kt index 8c85184177a..70a699300ce 100644 --- a/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.fir.kt +++ b/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.fir.kt @@ -11,7 +11,7 @@ public class J { package constructorVsFun; public class G { - @kotlin.Deprecated("G", level = DeprecationLevel.HIDDEN) + @kotlin.Deprecated(message = "G", level = kotlin.DeprecationLevel.HIDDEN) public G(String s) {} } diff --git a/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt b/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt index 7bcdbe40bc4..bafbc050e4a 100644 --- a/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt +++ b/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.kt @@ -11,7 +11,7 @@ public class J { package constructorVsFun; public class G { - @kotlin.Deprecated("G", level = DeprecationLevel.HIDDEN) + @kotlin.Deprecated(message = "G", level = kotlin.DeprecationLevel.HIDDEN) public G(String s) {} } diff --git a/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.txt b/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.txt index c776a5b1695..e80f2d84f94 100644 --- a/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.txt +++ b/compiler/testData/diagnostics/tests/overload/noConflictingOverloadsWithDeprecatedHidden/ConstructorVsFunOverload.txt @@ -7,7 +7,7 @@ package constructorVsFun { public fun b(): kotlin.Int public open class G { - @kotlin.Deprecated(level = DeprecationLevel.HIDDEN, value = "G") public constructor G(/*0*/ s: kotlin.String!) + @kotlin.Deprecated(level = DeprecationLevel.HIDDEN, message = "G") public constructor G(/*0*/ s: kotlin.String!) 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