Provide JvmSynthetic annotation in stdlib-common as optional

#KT-24478
This commit is contained in:
Ilya Gorbunov
2018-08-21 18:51:35 +03:00
parent 0c89996e34
commit 36f154882c
2 changed files with 14 additions and 1 deletions
@@ -76,7 +76,7 @@ internal annotation class JvmPackageName(val name: String)
*/
@Target(AnnotationTarget.FUNCTION, AnnotationTarget.PROPERTY_GETTER, AnnotationTarget.PROPERTY_SETTER, AnnotationTarget.FIELD)
@Retention(AnnotationRetention.SOURCE)
public annotation class JvmSynthetic
public actual annotation class JvmSynthetic
/**
* This annotation indicates what exceptions should be declared by a function when compiled to a JVM method.