-
Notifications
You must be signed in to change notification settings - Fork 59
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
Companion object 'const val' properties generate false positive if they have a non-public marker #90
Comments
I wonder how this translates to Java interop stability. But I guess if it's annotated and the documentation is straightforward, it shouldn't surprise anyone |
Indeed, the Java story, without |
Just bumped into that again.
This is true for all non-public markers, right? Java code doesn't really "see" them so it's all based on documentation for java callers. Or maybe recommend library authors to add |
Attempt at fixing this: #245 |
Closing as #245 was merged |
Also, update the dump to reflect the actual state of the Gradle plugin. Reorders entries in the dumps: Kotlin/binary-compatibility-validator#225, Kotlin/binary-compatibility-validator#196 Removes internal constants from the dump: Kotlin/binary-compatibility-validator#90 Fixes #248
Also, update the dump to reflect the actual state of the Gradle plugin. Reorders entries in the dumps: Kotlin/binary-compatibility-validator#225, Kotlin/binary-compatibility-validator#196 Removes internal constants from the dump: Kotlin/binary-compatibility-validator#90 Fixes #248
The following:
Generates the following pseudo Java code:
Because the synthetic method carrying the annotations is not in the same class as the field, it is ignored and the field is marked as public API even though it shouldn't.
The text was updated successfully, but these errors were encountered: