-
Notifications
You must be signed in to change notification settings - Fork 408
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
Unavailable Java members from mapping J2K in stdlib #3542
Comments
Dokka should filter out filter out such methods from documentation since:
The long-term solution in K2 is blocked by https://youtrack.jetbrains.com/issue/KT-69796/Analysis-API-Provide-a-way-to-detect-mapped-methods-from-JVM The short-term one is to support a manual list of such methods in a Documentable filter. e.g. vmishenev/kotlin@8997a9a |
This has
chars()
andcodePoints()
members that are absent in https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/ (and in the new documentation too) since they come from mapping (see https://kotlinlang.org/docs/java-interop.html#mapped-types) Java to Kotlin/Kotlin to Java.The actual DRIs of
chars()
andcodePoints()
have thekotlin
package so after fixing #3529 they lead to non-existent https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/chars.html and https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-char-sequence/code-points.htmlThis is also relevant to #2879 (e.g. Dokka generates
.../kotlin-stdlib/kotlin.collections/-collection/parallel-stream.html
that is a 404-page)Possible expected behaviour
The text was updated successfully, but these errors were encountered: