-
Notifications
You must be signed in to change notification settings - Fork 624
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add annotations from expect entity to actual entity. Required after KT-58551 #2388
Conversation
@woainikk, should these annotations be placed on the remaining actual |
AnnotationTarget.VALUE_PARAMETER, | ||
AnnotationTarget.LOCAL_VARIABLE, | ||
AnnotationTarget.ANNOTATION_CLASS | ||
) | ||
public actual annotation class FormatLanguage( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There's an actual annotation class FormatLanguage
in JS source set, too
Also, what does the new rule says about actual typealias
? We have this in JVM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed for Js source set.
"Annotations with retention SOURCE on expect are not checked if actual is typealias to compiled code." - and there is no compiler errors except error with FormatLanguage
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But kotlin.Target
has default retention (runtime)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.
a1f4067
to
07986e9
Compare
KT-58551