Skip to content
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

Nullable functional types need to be parenthesized #3919

Open
whyoleg opened this issue Nov 13, 2024 · 0 comments
Open

Nullable functional types need to be parenthesized #3919

whyoleg opened this issue Nov 13, 2024 · 0 comments
Labels
bug feedback: Kotlin libs Feedback from Kotlin's internal libraries

Comments

@whyoleg
Copy link
Collaborator

whyoleg commented Nov 13, 2024

Functions or properties with nullable functional types (e.g (() -> Unit)?) as parameters or return types are rendered without parenthesis. Example from stdlib:
image
Source code:

var onpagehide: ((PageTransitionEvent) -> dynamic)?

related: #3637

Installation

  • Dokka version: 1.9.20
@whyoleg whyoleg added bug feedback: Kotlin libs Feedback from Kotlin's internal libraries labels Nov 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug feedback: Kotlin libs Feedback from Kotlin's internal libraries
Projects
None yet
Development

No branches or pull requests

1 participant