Skip to content

Commit

Permalink
Add annotations from expect entity to actual entity. Required after K…
Browse files Browse the repository at this point in the history
…T-58551 (#2388)
  • Loading branch information
woainikk authored Aug 3, 2023
1 parent f023988 commit 416e20a
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ package kotlinx.serialization.json.internal;
import kotlinx.serialization.InternalSerializationApi

@InternalSerializationApi
@Retention(AnnotationRetention.BINARY)
@Target(
AnnotationTarget.FUNCTION,
AnnotationTarget.PROPERTY_GETTER,
AnnotationTarget.PROPERTY_SETTER,
AnnotationTarget.FIELD,
AnnotationTarget.VALUE_PARAMETER,
AnnotationTarget.LOCAL_VARIABLE,
AnnotationTarget.ANNOTATION_CLASS
)
public actual annotation class FormatLanguage(
public actual val value: String,
// default parameters are not used due to https://youtrack.jetbrains.com/issue/KT-25946/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,16 @@ package kotlinx.serialization.json.internal;
import kotlinx.serialization.InternalSerializationApi

@InternalSerializationApi
@Retention(AnnotationRetention.BINARY)
@Target(
AnnotationTarget.FUNCTION,
AnnotationTarget.PROPERTY_GETTER,
AnnotationTarget.PROPERTY_SETTER,
AnnotationTarget.FIELD,
AnnotationTarget.VALUE_PARAMETER,
AnnotationTarget.LOCAL_VARIABLE,
AnnotationTarget.ANNOTATION_CLASS
)
public actual annotation class FormatLanguage(
public actual val value: String,
// default parameters are not used due to https://youtrack.jetbrains.com/issue/KT-25946/
Expand Down

0 comments on commit 416e20a

Please sign in to comment.