From 20f175d0914d291f5a37f25887072b746b530c19 Mon Sep 17 00:00:00 2001 From: Ilya Gorbunov Date: Fri, 27 Jan 2017 00:48:46 +0300 Subject: [PATCH] Soften back deprecation level for nativeGetter/Setter/Invoke annotations. --- js/js.libraries/src/core/annotations.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/js.libraries/src/core/annotations.kt b/js/js.libraries/src/core/annotations.kt index 586de4d8e1e..a55aad9d365 100644 --- a/js/js.libraries/src/core/annotations.kt +++ b/js/js.libraries/src/core/annotations.kt @@ -23,15 +23,15 @@ import kotlin.annotation.AnnotationTarget.* public annotation class native(@Deprecated public val name: String = "") @Target(FUNCTION) -@Deprecated("Use inline extension function with body using dynamic", level = DeprecationLevel.ERROR) +@Deprecated("Use inline extension function with body using dynamic") public annotation class nativeGetter @Target(FUNCTION) -@Deprecated("Use inline extension function with body using dynamic", level = DeprecationLevel.ERROR) +@Deprecated("Use inline extension function with body using dynamic") public annotation class nativeSetter @Target(FUNCTION) -@Deprecated("Use inline extension function with body using dynamic", level = DeprecationLevel.ERROR) +@Deprecated("Use inline extension function with body using dynamic") public annotation class nativeInvoke @Target(CLASS, FUNCTION, PROPERTY)