- Sponsor
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: ziglang/zig
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 137c8f5e8a60
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: ziglang/zig
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 942b25089558
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 5 commits
- 24 files changed
- 1 contributor
Commits on Dec 4, 2017
-
rework enums and unions and their relationship to each other
* @enumTagName renamed to @TagName and it works on enums and union-enums * Remove the EnumTag type. Now there is only enum and union, and the tag type of a union is always an enum. * unions support specifying the tag enum type, and they support inferring an enum tag type. * Enums no longer support field types but they do support setting the tag values. Likewise union-enums when inferring an enum tag type support setting the tag values. * It is now an error for enums and unions to have 0 fields. * switch statements support union-enums closes #618
Configuration menu - View commit details
-
Copy full SHA for 0ad1239 - Browse repository at this point
Copy the full SHA 0ad1239View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5a8367e - Browse repository at this point
Copy the full SHA 5a8367eView commit details -
fix abi alignment of union-enums not counting tag type
add more tests for unions See #618
Configuration menu - View commit details
-
Copy full SHA for fce435d - Browse repository at this point
Copy the full SHA fce435dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05d9f07 - Browse repository at this point
Copy the full SHA 05d9f07View commit details -
Configuration menu - View commit details
-
Copy full SHA for 942b250 - Browse repository at this point
Copy the full SHA 942b250View commit details
There are no files selected for viewing
Uh oh!
There was an error while loading. Please reload this page.