★ wanayoo — archive 1999 https://github.com/NativeScript/android-runtime/issues/1560Nouvelle recherche | Portail wanayoo
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

Kotlin enum values not visible at runtime #1560

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

@vmutafov vmutafov commented Dec 30, 2019

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 Jan 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.