From f0a787551a28a5dd7ceb5d0d3b1eba7a73e10d46 Mon Sep 17 00:00:00 2001 From: Ilmir Usmanov Date: Tue, 1 Dec 2020 01:34:28 +0100 Subject: [PATCH] Value classes: Raise retention of @JvmInline to RUNTIME so it will be visible by reflection --- .../runtime/kotlin/jvm/annotations/JvmPlatformAnnotations.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/stdlib/jvm/runtime/kotlin/jvm/annotations/JvmPlatformAnnotations.kt b/libraries/stdlib/jvm/runtime/kotlin/jvm/annotations/JvmPlatformAnnotations.kt index a6b653496ab..92015204695 100644 --- a/libraries/stdlib/jvm/runtime/kotlin/jvm/annotations/JvmPlatformAnnotations.kt +++ b/libraries/stdlib/jvm/runtime/kotlin/jvm/annotations/JvmPlatformAnnotations.kt @@ -141,7 +141,7 @@ public actual annotation class JvmWildcard * in their signature are mangled. */ @Target(AnnotationTarget.CLASS) -@Retention(AnnotationRetention.BINARY) +@Retention(AnnotationRetention.RUNTIME) @MustBeDocumented @SinceKotlin("1.5") public actual annotation class JvmInline \ No newline at end of file