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.*
6969 * @see Serializer
7070 */
7171@Target(AnnotationTarget .PROPERTY , AnnotationTarget .CLASS , AnnotationTarget .TYPE )
72- @Retention(AnnotationRetention .RUNTIME )
72+ // @Retention(AnnotationRetention.RUNTIME) // Runtime is the default retention, also see KT-41082
7373public annotation class Serializable (
7474 val with : KClass <out KSerializer <* >> = KSerializer : :class // Default value indicates that auto-generated serializer is used
7575)
@@ -209,7 +209,7 @@ public annotation class UseSerializers(vararg val serializerClasses: KClass<out
209209 * with special compiler plugin support which would be added later.
210210 */
211211@Target(AnnotationTarget .PROPERTY , AnnotationTarget .TYPE , AnnotationTarget .CLASS )
212- @Retention(AnnotationRetention .RUNTIME )
212+ // @Retention(AnnotationRetention.RUNTIME) // Runtime is the default retention, also see KT-41082
213213public annotation class Polymorphic
214214
215215/* *
You can’t perform that action at this time.
0 commit comments