KT-2752: deprecate parameter of @native annotation, prohibit simultaneous usage of parameterized @native and @JsName

This commit is contained in:
Alexey Andreev
2016-06-23 18:46:15 +03:00
parent 49022fd5bc
commit 4e2b1d68cf
8 changed files with 26 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ import kotlin.annotation.AnnotationTarget.*
@native
@Target(CLASS, FUNCTION, PROPERTY, CONSTRUCTOR, VALUE_PARAMETER, PROPERTY_GETTER, PROPERTY_SETTER)
public annotation class native(public val name: String = "")
public annotation class native(@Deprecated public val name: String = "")
@native
@Target(FUNCTION)