Skip to content

MultiArrayList: Fix error when struct is 0 sized#10628

Merged
Vexu merged 2 commits intoziglang:masterfrom
riverbl:fixmultiarraylist0sized
Jan 24, 2022
Merged

MultiArrayList: Fix error when struct is 0 sized#10628
Vexu merged 2 commits intoziglang:masterfrom
riverbl:fixmultiarraylist0sized

Conversation

@riverbl
Copy link
Contributor

@riverbl riverbl commented Jan 18, 2022

Also fixes error with ArrayHashMap when both key and value are 0 sized.

Fixes #10618.

Also fixes error with ArrayHashMap when both key and value are 0 sized
@Vexu Vexu merged commit 1f10cf4 into ziglang:master Jan 24, 2022
@andrewrk
Copy link
Member

Reverted in 913d61e. I'd still like to merge the PR, but I want to solve it a different way - with an improvement to the language/compiler rather than a userland workaround such as this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

AutoArrayHashMap: Alignment error when key type is single-member enum and value type is void

3 participants