diff --git a/core/builtins/src/kotlin/Annotations.kt b/core/builtins/src/kotlin/Annotations.kt index 061f5793db5..a9638a37b5d 100644 --- a/core/builtins/src/kotlin/Annotations.kt +++ b/core/builtins/src/kotlin/Annotations.kt @@ -76,6 +76,7 @@ public annotation(retention = SOURCE) class Suppress(vararg val names: String) * backend. */ target(FUNCTION) +// @deprecated("Use kotlin.tailrec instead", ReplaceWith("kotlin.tailrec")) public annotation(retention = SOURCE) class tailRecursive target(FUNCTION) diff --git a/core/builtins/src/kotlin/reflect/_Deprecated.kt b/core/builtins/src/kotlin/reflect/_Deprecated.kt index 04a023bbf52..58fceecfb33 100644 --- a/core/builtins/src/kotlin/reflect/_Deprecated.kt +++ b/core/builtins/src/kotlin/reflect/_Deprecated.kt @@ -16,14 +16,14 @@ package kotlin.reflect -@deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead") +// @deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead") public interface KTopLevelFunction : KFunction -@deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead") +// @deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead") public interface KTopLevelExtensionFunction -@deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead") +// @deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead") public interface KMemberFunction : KFunction -@deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead") +// @deprecated("This class will be dropped in M13 because it was a part of an overly complex API. Use KFunction instead") public interface KLocalFunction : KFunction