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

Take advantage of new HashMap API's preserving order #5847

Merged
merged 2 commits into from
Jul 12, 2020

Conversation

Vexu
Copy link
Member

@Vexu Vexu commented Jul 11, 2020

Should std.meta.declList be removed in favor of just putting the declarations in the order you want or should it just be documented to return the declarations in alphabetic order?

Closes #4495

@andrewrk
Copy link
Member

Nice! Happy about this change.

Personally I'd like to deprecate and remove std.meta.declList.

@andrewrk andrewrk merged commit 2dcb70a into ziglang:master Jul 12, 2020
@Vexu Vexu deleted the decl branch July 12, 2020 08:01
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

Successfully merging this pull request may close these issues.

@typeInfo should return declarations in declaration order
2 participants