aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2022-03-24 18:08:10 -0700
committerAndrew Kelley <andrew@ziglang.org>2022-03-24 18:09:45 -0700
commit7cfa97aa4ee9eb49d97d7d3b88488387bf6d175f (patch)
tree58ec04014b5b46f15238237acc558ec2c56374ac /test
parent5c68afef94b0b80823e033bd6965fcda74e19ebe (diff)
downloadzig-7cfa97aa4ee9eb49d97d7d3b88488387bf6d175f.tar.gz
zig-7cfa97aa4ee9eb49d97d7d3b88488387bf6d175f.zip
std.meta.trait: remove assumption about vector ABI size
The unit test for hasUniqueRepresentation asserted that a vector of length 3 would not have a unique representation. This would be true if it were lowered to ABI size 8 instead of 6. However lowering it to ABI size 6 is perfectly valid depending on the target. This commit also simplifies the logic for hasUniqueRepresentation of integers.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions