From bf38f56261fdb755a9717464e5ad7ea04412f5bc Mon Sep 17 00:00:00 2001 From: Denis Zharkov Date: Fri, 4 Sep 2015 12:27:51 +0300 Subject: [PATCH] Temporary workaround to compile bootstrap version May be reverted soon --- core/builtins/src/kotlin/Annotations.kt | 1 + core/builtins/src/kotlin/reflect/_Deprecated.kt | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) 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