JvmName should have @Retention(AnnotationRetention.BINARY)

(TODO: fix JVM BE)
This commit is contained in:
Dmitry Petrov
2015-09-21 14:00:59 +03:00
parent da026f1480
commit 80cbee83ee
4 changed files with 14 additions and 1 deletions
@@ -48,7 +48,7 @@ public annotation class JvmStatic
* @property name the name of the element.
*/
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FILE)
@Retention(AnnotationRetention.SOURCE)
@Retention(AnnotationRetention.BINARY)
@MustBeDocumented
public annotation class JvmName(public val name: String)