Deprecate kotlin.Metadata.bytecodeVersion

#KT-41758 Fixed
This commit is contained in:
Alexander Udalov
2021-02-15 17:07:45 +01:00
parent f63ffc51ae
commit 48fb085bf6
@@ -34,8 +34,12 @@ public annotation class Metadata(
/**
* The version of the bytecode interface (naming conventions, signatures) of the class file annotated with this annotation.
*/
@Deprecated(
"Bytecode version had no significant use in Kotlin metadata and it will be removed in a future version.",
level = DeprecationLevel.WARNING,
)
@get:JvmName("bv")
val bytecodeVersion: IntArray = [],
val bytecodeVersion: IntArray = [1, 0, 3],
/**
* Metadata in a custom format. The format may be different (or even absent) for different kinds.
*/