From 298093c4bd04f2589609eea0a099e89addec018b Mon Sep 17 00:00:00 2001 From: Yan Zhulanow Date: Tue, 18 Aug 2015 02:32:38 +0300 Subject: [PATCH] Forbid deprecated on field --- core/builtins/src/kotlin/Annotations.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/builtins/src/kotlin/Annotations.kt b/core/builtins/src/kotlin/Annotations.kt index 184fe717247..25fa3036121 100644 --- a/core/builtins/src/kotlin/Annotations.kt +++ b/core/builtins/src/kotlin/Annotations.kt @@ -36,7 +36,7 @@ public annotation(mustBeDocumented = true) class data * the deprecated API usage. */ target(CLASSIFIER, FUNCTION, PROPERTY, ANNOTATION_CLASS, CONSTRUCTOR, PROPERTY_SETTER, PROPERTY_GETTER, - LOCAL_VARIABLE, FIELD, VALUE_PARAMETER) + LOCAL_VARIABLE, VALUE_PARAMETER) public annotation(mustBeDocumented = true) class deprecated(val value: String, val replaceWith: ReplaceWith = ReplaceWith("")) /**