aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/array.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-03-19 20:28:28 +0100
committerLuuk de Gram <luuk@degram.dev>2022-03-19 20:56:04 +0100
commit56590218c5054fd5f4076916fd247213a00d5105 (patch)
treeecdcceca46d3685106500575fed5273f2e4067c6 /test/behavior/array.zig
parent2041176c5e7d2b469c2fe0168e142fe8f322b9bc (diff)
downloadzig-56590218c5054fd5f4076916fd247213a00d5105.tar.gz
zig-56590218c5054fd5f4076916fd247213a00d5105.zip
wasm: All union/tuple/array tests passing
This implements improvements/fixes to get all the union, tuple, and array behavior tests passing. Previously, we lowered parent pointers for field_ptr and element_ptr incompletely. This has now been improved to recursively lower such pointer. Also a fix was done to `generateSymbol` when checking a container's layout. Previously it was assumed to always be a struct. However, the type can also be a tuple, and therefore panicking. Updating to ask a type's container layout instead allows us to keep a singular branch for both cases.
Diffstat (limited to 'test/behavior/array.zig')
0 files changed, 0 insertions, 0 deletions