index
:
zig
0.10.x
0.11.x
0.12.x
0.14.x
0.15.x
0.7.x
0.8.x
0.9.x
ArrayList-reserve
Io.net
aro
ast-node-methods
async-await-demo
autofix
ci-perf-comment
ci-scripts
ci-tarballs
cli
comptime-allocator
elfv2-dyn
fixes
fuzz-macos
hcs
incr-bug
io-threaded-no-queue
jobserver
json-diagnostics
llvm-ir-nosanitize-metadata
macos-debug-info
main
make-vs-configure
master
more-doctests
new-pkg-hash
powerpc64le
restricted-function-pointers
rework-comptime-mutation
sans-aro
sha1-stream
spork8
stage2-async
threadpool
threadtheft
wasm-linker-writer
wrangle-writer-buffering
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software. https://ziglang.org
about
summary
refs
log
tree
commit
diff
log msg
author
committer
range
path:
root
/
test
/
cases
/
union.zig
Age
Commit message (
Expand
)
Author
2019-01-29
backport copy elision changes
Andrew Kelley
2018-11-13
New Zig formal grammar (#1685)
Jimmi Holst Christensen
2018-10-15
remove implicit cast from T to *const T
Andrew Kelley
2018-10-15
Solve the return type ambiguity (#1628)
Jimmi Holst Christensen
2018-09-13
fix tagged union with only 1 field tripping assertion
Andrew Kelley
2018-09-05
stage1: fix tagged union with no payloads
Andrew Kelley
2018-08-03
fix tagged union initialization with a runtime void
Andrew Kelley
2018-06-19
remove enum to/from int casting syntax; add `@enumToInt`/`@intToEnum`
Andrew Kelley
2018-05-31
use * for pointer type instead of &
Andrew Kelley
2018-05-29
run zig fmt on the codebase
Andrew Kelley
2018-05-09
Merge branch 'master' into pointer-reform
Andrew Kelley
2018-05-07
tagged union field access prioritizes members over enum tags
Andrew Kelley
2018-05-01
Added tests.
Alexandros Naskos
2018-04-30
[breaking] delete ptr deref prefix op
Andrew Kelley
2018-02-02
*WI* error sets - basic support working
Andrew Kelley
2018-01-25
syntax: functions require return type. remove `->`
Andrew Kelley
2018-01-22
fix crash on union-enums with only 1 field
Andrew Kelley
2018-01-09
remove %% prefix operator
Andrew Kelley
2017-12-24
fix segfault when passing union enum with sub byte...
Andrew Kelley
2017-12-08
add implicit cast from enum tag type of union to const ptr to the union
Andrew Kelley
2017-12-05
allow union and its tag type to peer resolve to the tag type
Andrew Kelley
2017-12-05
allow implicit cast from union to its enum tag type
Andrew Kelley
2017-12-05
add implicit cast from enum to union
Andrew Kelley
2017-12-04
add test for casting union to tag type of union
Andrew Kelley
2017-12-04
add test for union with 1 void field being 0 bits
Andrew Kelley
2017-12-04
add test for @sizeOf on extern and packed unions
Andrew Kelley
2017-12-04
fix abi alignment of union-enums not counting tag type
Andrew Kelley
2017-12-03
rename @EnumTagType to @TagType. add tests for union-enums
Andrew Kelley
2017-12-03
rework enums and unions and their relationship to each other
Andrew Kelley
2017-11-16
fix codegen for union init with runtime value
Andrew Kelley
2017-11-16
debug safety for unions
Andrew Kelley
2017-11-15
unions have a secret field for the type
Andrew Kelley
2017-11-15
basic union support
Andrew Kelley
2017-10-27
add test case for previous commit
Andrew Kelley