-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Make primitive values not keywords #2897
Labels
Milestone
Comments
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.
labels
Jul 15, 2019
I realized there is a downside: #1802 Let's resolve these issues together. |
andrewrk
added
breaking
Implementing this issue could cause existing code to no longer compile or have different behavior.
and removed
contributor friendly
This issue is limited in scope and/or knowledge of Zig internals.
labels
Sep 4, 2019
andrewrk
added
accepted
This proposal is planned.
and removed
breaking
Implementing this issue could cause existing code to no longer compile or have different behavior.
labels
May 13, 2021
Please see #1802 (comment) for more details here. |
Snektron
added a commit
to Snektron/vulkan-zig
that referenced
this issue
Jun 24, 2021
This also includes a workaround for the fact that @"type" refers to the builtin and not to a variable called "type". See ziglang/zig#2897.
ashpil
pushed a commit
to ashpil/vulkan-zig
that referenced
this issue
Jun 25, 2021
This also includes a workaround for the fact that @"type" refers to the builtin and not to a variable called "type". See ziglang/zig#2897.
Snektron
added a commit
to Snektron/vulkan-zig
that referenced
this issue
Jul 6, 2021
This also includes a workaround for the fact that @"type" refers to the builtin and not to a variable called "type". See ziglang/zig#2897.
Snektron
added a commit
to Snektron/vulkan-zig
that referenced
this issue
Jul 6, 2021
This also includes a workaround for the fact that @"type" refers to the builtin and not to a variable called "type". See ziglang/zig#2897.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
#1803 was a grammatical cleanup that made all primitive types (
anyerror
,void
,bool
) into non-keywords. I think we could do the same for primitive values (true
,null
,undefined
). Types and values are both just values, unlike keywords.If it's anything like #1803 this will result in deleting code with no downside.
The text was updated successfully, but these errors were encountered: