Skip to content

mini-proposal: Rename std.meta.IntType to std.meta.Int #5194

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
tadeokondrak opened this issue Apr 28, 2020 · 0 comments · Fixed by #5210
Closed

mini-proposal: Rename std.meta.IntType to std.meta.Int #5194

tadeokondrak opened this issue Apr 28, 2020 · 0 comments · Fixed by #5210
Labels
accepted This proposal is planned. breaking Implementing this issue could cause existing code to no longer compile or have different behavior. contributor friendly This issue is limited in scope and/or knowledge of Zig internals. proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. standard library This issue involves writing Zig code for the standard library.
Milestone

Comments

@tadeokondrak
Copy link
Contributor

tadeokondrak commented Apr 28, 2020

The capitalization already makes it clear it returns a type, and it would be more consistent with a possible std.meta.Vector, which would replace @Vector, which is not called @VectorType.

@andrewrk andrewrk added accepted This proposal is planned. contributor friendly This issue is limited in scope and/or knowledge of Zig internals. proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. standard library This issue involves writing Zig code for the standard library. breaking Implementing this issue could cause existing code to no longer compile or have different behavior. labels Apr 28, 2020
@andrewrk andrewrk added this to the 0.7.0 milestone Apr 28, 2020
tadeokondrak added a commit to tadeokondrak/zig that referenced this issue Apr 29, 2020
@Vexu Vexu linked a pull request Apr 29, 2020 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted This proposal is planned. breaking Implementing this issue could cause existing code to no longer compile or have different behavior. contributor friendly This issue is limited in scope and/or knowledge of Zig internals. proposal This issue suggests modifications. If it also has the "accepted" label then it is planned. standard library This issue involves writing Zig code for the standard library.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants