Skip to content

Commit 2db031d

Browse files
dzharkovSpace Team
authored and
Space Team
committed
Drop unused createDeprecatedAnnotation
^KT-60858 Fixed
1 parent db27e29 commit 2db031d

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

core/descriptors/src/org/jetbrains/kotlin/descriptors/annotations/annotationUtil.kt

-11
Original file line numberDiff line numberDiff line change
@@ -58,17 +58,6 @@ fun KotlinBuiltIns.createDeprecatedAnnotation(
5858
)
5959
}
6060

61-
// Temporary workaround for kotlinx-serialization-cbor compilation.
62-
// We need some kotlinx-serialization components to be resolved to that function instead of one with default argument
63-
// because for some time, they have a new version at compile time, but the old core in the classpath.
64-
// Might be removed after K/N version is advanced (KT-60858 to track)
65-
@Suppress("unused")
66-
fun KotlinBuiltIns.createDeprecatedAnnotation(
67-
message: String,
68-
replaceWith: String = "",
69-
level: String = "WARNING",
70-
): AnnotationDescriptor = createDeprecatedAnnotation(message, replaceWith, level, forcePropagationDeprecationToOverrides = false)
71-
7261
private val DEPRECATED_MESSAGE_NAME = Name.identifier("message")
7362
private val DEPRECATED_REPLACE_WITH_NAME = Name.identifier("replaceWith")
7463
private val DEPRECATED_LEVEL_NAME = Name.identifier("level")

0 commit comments

Comments
 (0)