Make kotlin.Metadata public

Prohibit explicit usage of `@Metadata` to prevent possible
AnnotationFormatError at runtime

 #KT-23602 Fixed
This commit is contained in:
Alexander Udalov
2018-06-22 18:53:39 +02:00
committed by Ilya Gorbunov
parent 8102e512d3
commit f423403167
4 changed files with 24 additions and 3 deletions
@@ -11,7 +11,8 @@ package kotlin
*/
@Retention(AnnotationRetention.RUNTIME)
@Target(AnnotationTarget.CLASS)
internal annotation class Metadata(
@SinceKotlin("1.3")
public annotation class Metadata(
/**
* A kind of the metadata this annotation encodes. Kotlin compiler recognizes the following kinds (see KotlinClassHeader.Kind):
*