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
This commit is contained in:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user