dokka icon indicating copy to clipboard operation
dokka copied to clipboard

[K2] Regression: Display expanded function types instead of abbreviated ones

Open vmishenev opened this issue 8 months ago • 0 comments

Due to the implemented issue KT-68341, Dokka generates, for example, the signature

fun <T> exception(callback: String.(T) -> String)

instead of

fun <T> exception(callback: HttpExceptionCallback<T>)

for

typealias HttpExceptionCallback<T> = String.(T) -> String
fun <T> exception(callback: HttpExceptionCallback<T>){}"""

It is blocked by https://youtrack.jetbrains.com/issue/KT-68341/Analysis-API-Expanded-function-types-from-libraries-dont-have-an-abbreviated-type

vmishenev avatar Jun 18 '24 17:06 vmishenev