File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
runtime/commonMain/src/kotlinx/serialization Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -69,7 +69,7 @@ import kotlin.reflect.*
69
69
* @see Serializer
70
70
*/
71
71
@Target(AnnotationTarget .PROPERTY , AnnotationTarget .CLASS , AnnotationTarget .TYPE )
72
- @Retention(AnnotationRetention .RUNTIME )
72
+ // @Retention(AnnotationRetention.RUNTIME) // Runtime is the default retention, also see KT-41082
73
73
public annotation class Serializable (
74
74
val with : KClass <out KSerializer <* >> = KSerializer : :class // Default value indicates that auto-generated serializer is used
75
75
)
@@ -209,7 +209,7 @@ public annotation class UseSerializers(vararg val serializerClasses: KClass<out
209
209
* with special compiler plugin support which would be added later.
210
210
*/
211
211
@Target(AnnotationTarget .PROPERTY , AnnotationTarget .TYPE , AnnotationTarget .CLASS )
212
- @Retention(AnnotationRetention .RUNTIME )
212
+ // @Retention(AnnotationRetention.RUNTIME) // Runtime is the default retention, also see KT-41082
213
213
public annotation class Polymorphic
214
214
215
215
/* *
You can’t perform that action at this time.
0 commit comments