You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Clicking the source leads to the admittedly convoluted line of source
public fun <T> Optional<out T & Any>.getOrDefault(defaultValue: T): T = if (isPresent) get() else defaultValue
It took me a few minutes browsing to figure out what was going on, but the getOrDefault method doesn't actually appear by name anywhere in the generated docs.
Expected behaviour
I would expect the generated Dokka to show the signature
public fun <T> Optional<out T & Any>.getOrDefault(defaultValue: T): T
The text was updated successfully, but these errors were encountered:
On the Kotlin stdlib documentation, https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.jvm.optionals/java.util.-optional/-any.html shows
which lacks even a shown return type.
Clicking the source leads to the admittedly convoluted line of source
It took me a few minutes browsing to figure out what was going on, but the
getOrDefault
method doesn't actually appear by name anywhere in the generated docs.Expected behaviour
I would expect the generated Dokka to show the signature
The text was updated successfully, but these errors were encountered: