Skip to content

Kotlin enum values not visible at runtime #1560

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

Closed
vmutafov opened this issue Dec 30, 2019 · 0 comments
Closed

Kotlin enum values not visible at runtime #1560

vmutafov opened this issue Dec 30, 2019 · 0 comments
Milestone

Comments

@vmutafov
Copy link
Contributor

A bug was introduced in 6.3.0 regarding the support of Kotlin enums.
The bug was caused by the not correct gathering of bytecode fields. Only the @JvmField annotated fields and the Companion field were collected in the Metadata Generator. This resulted in enum values not being visible at runtime through JS/TS.

The metadata collection was and still is quite independent in regards to parsing Java/Kotlin originating classes. Because of that, the bug was only for Kotlin enums - and not for Java ones.

@vmutafov vmutafov added this to the 6.3.1 milestone Jan 2, 2020
@vmutafov vmutafov closed this as completed Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant