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
Describe the bug
If a classifier extends a functional type, rendered documentation uses FunctionX as a super type name. However, such types do not exists (the closes thing we have is kotlin.jvm.functions.Function<N>) and the link from such a supertype leads to a non-existing page.
Expected behaviour
A function supertype should be rendered as a functional type, the same way functional parameters are rendered.
Describe the bug
If a classifier extends a functional type, rendered documentation uses
FunctionX
as a super type name. However, such types do not exists (the closes thing we have iskotlin.jvm.functions.Function<N>
) and the link from such a supertype leads to a non-existing page.Expected behaviour
A function supertype should be rendered as a functional type, the same way functional parameters are rendered.
Screenshots
![Image](https://private-user-images.githubusercontent.com/13045611/412152576-28a38838-b475-4447-8f2b-ba9c612962a4.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTcwMjAsIm5iZiI6MTczOTU1NjcyMCwicGF0aCI6Ii8xMzA0NTYxMS80MTIxNTI1NzYtMjhhMzg4MzgtYjQ3NS00NDQ3LThmMmItYmE5YzYxMjk2MmE0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE4MTIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBkYTRlMjExMDc2NTkwOWIyNmVkNDY3YTMyYzhiZTVlMjNiN2RmYzBkMGEwMGY0ZGQ0Mjk3OTA0NDM1MDJmNDkmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.pihhHZU9jwEW_GbtOL8QjhV4NbDop0lE77mIUVW-DmQ)
Check https://kotlinlang.org/api/core/kotlin-stdlib/kotlin.reflect/-k-property0/ for an example.
The interface is defined as
public expect interface KProperty0<out V> : KProperty<V>, () -> V
, but rendered as:And the
Function0<V>
link leads nowhere.Instead, I would expect something like:
![Image](https://private-user-images.githubusercontent.com/13045611/412153996-2750faa3-79f8-411b-93f6-7e3fd53bb472.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk1NTcwMjAsIm5iZiI6MTczOTU1NjcyMCwicGF0aCI6Ii8xMzA0NTYxMS80MTIxNTM5OTYtMjc1MGZhYTMtNzlmOC00MTFiLTkzZjYtN2UzZmQ1M2JiNDcyLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE0VDE4MTIwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTg1NTY5MmE0MWUzMDhjMTE1Mjc5ZDUyMmUwNDY2MDM1OWZmMDMwNDEyN2I4ZmMyZDNhMTQ3NDYzOTdkMjNiMTAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.ia5ZhZBcH8DQhg4393K76nlGlKdPYAc8cQpEOmW6bUE)
Installation
The text was updated successfully, but these errors were encountered: