Make kotlin.Metadata public
Prohibit explicit usage of `@Metadata` to prevent possible AnnotationFormatError at runtime #KT-23602 Fixed
This commit is contained in:
committed by
Ilya Gorbunov
parent
8102e512d3
commit
f423403167
@@ -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):
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user