From ed8edd2ce4abbcd4ada5417c0fb9aabb645edcf0 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Tue, 1 Sep 2015 16:18:43 +0300 Subject: [PATCH] Documented HiddenDeclaration --- core/builtins/src/kotlin/Annotations.kt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/builtins/src/kotlin/Annotations.kt b/core/builtins/src/kotlin/Annotations.kt index 25fa3036121..9ebd70e2700 100644 --- a/core/builtins/src/kotlin/Annotations.kt +++ b/core/builtins/src/kotlin/Annotations.kt @@ -79,7 +79,9 @@ target(FUNCTION) public annotation(retention = SOURCE) class tailRecursive /** - * TODO + * Hides the annotated function, property or constructor from the overload resolution, + * thus preventing its usages from newly compiled code, but keeps compiling it + * to retain binary compatibility with the code compiled against it before. */ target(FUNCTION, PROPERTY, CONSTRUCTOR) annotation(retention = BINARY, mustBeDocumented = true)