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

Output properties in declaration order #13

Closed
NikolayMetchev opened this issue Jan 7, 2019 · 1 comment
Closed

Output properties in declaration order #13

NikolayMetchev opened this issue Jan 7, 2019 · 1 comment

Comments

@NikolayMetchev
Copy link

It seems that properties are output in alphabetical order. It seems to me that they should be generated in declaration order (in the kotlin definition). At the very least that should be configurable.

@ntrrgc
Copy link
Owner

ntrrgc commented Apr 30, 2019

There is no code ordering properties inside the generator. The properties are emitted in the order they are produced by declaredMemberProperties from the Kotlin reflection API.

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

2 participants