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

Support Enum.entries #2762

Closed
nikitabobko opened this issue Dec 2, 2022 · 2 comments · Fixed by #3071
Closed

Support Enum.entries #2762

nikitabobko opened this issue Dec 2, 2022 · 2 comments · Fixed by #3071
Labels
enhancement An issue for a feature or an overall improvement feedback: Kotlin libs Feedback from Kotlin's internal libraries language: Kotlin Issue/PR related to the Kotlin language feature/analysis/docs
Milestone

Comments

@nikitabobko
Copy link
Member

nikitabobko commented Dec 2, 2022

Kotlin 1.8.20-1.9.0 adds a new feature - Enum.entries

This is how it works for Enum.values()

image

Dokka should render entries the same way it rendered values

@nikitabobko nikitabobko added the enhancement An issue for a feature or an overall improvement label Dec 2, 2022
@nikitabobko
Copy link
Member Author

related IDE ticket https://youtrack.jetbrains.com/issue/KTIJ-23835

@IgnatBeresnev IgnatBeresnev added the feedback: Kotlin libs Feedback from Kotlin's internal libraries label Dec 2, 2022
@nikitabobko
Copy link
Member Author

Probably it should be fixed in kotlin_builtins JetBrains/kotlin@d0cf1b0 like it was fixed for Enum.values

@IgnatBeresnev IgnatBeresnev added this to the Kotlin 1.8.20 milestone Dec 15, 2022
@IgnatBeresnev IgnatBeresnev added the language: Kotlin Issue/PR related to the Kotlin language feature/analysis/docs label Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement An issue for a feature or an overall improvement feedback: Kotlin libs Feedback from Kotlin's internal libraries language: Kotlin Issue/PR related to the Kotlin language feature/analysis/docs
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants