From 86c4ad1165689fa574a7895c07185fac7b06373b Mon Sep 17 00:00:00 2001 From: Mikhail Zarechenskiy Date: Tue, 28 Mar 2017 15:09:43 +0300 Subject: [PATCH] Drop erroneously used @Deprecated annotation from parameter Annotation @native is deprecated itself and @deprecated on parameter doesn't have message, which cause compilation error after 3c4afcd --- js/js.libraries/src/core/annotations.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/js.libraries/src/core/annotations.kt b/js/js.libraries/src/core/annotations.kt index 7894162f868..84b17c530f4 100644 --- a/js/js.libraries/src/core/annotations.kt +++ b/js/js.libraries/src/core/annotations.kt @@ -1,5 +1,5 @@ /* - * Copyright 2010-2016 JetBrains s.r.o. + * Copyright 2010-2017 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -20,7 +20,7 @@ import kotlin.annotation.AnnotationTarget.* @Target(CLASS, FUNCTION, PROPERTY, CONSTRUCTOR, VALUE_PARAMETER, PROPERTY_GETTER, PROPERTY_SETTER) @Deprecated("Use `external` modifier instead", level = DeprecationLevel.ERROR) -public annotation class native(@Deprecated public val name: String = "") +public annotation class native(public val name: String = "") @Target(FUNCTION) @Deprecated("Use inline extension function with body using dynamic")