KT-2752: deprecate parameter of @native annotation, prohibit simultaneous usage of parameterized @native and @JsName
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user