# tools/gen_spirv_spec: fix wrong use of BoundedArray · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/ddd8d5918890177e0d6e5477c1be3701d5973908)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: ddd8d5918890177e0d6e5477c1be3701d5973908

Requested commit: ddd8d5918890177e0d6e5477c1be3701d5973908

Commit: ddd8d5918890177e0d6e5477c1be3701d5973908

Tree: 24ff6209bb77c61275364d32f52103f65e7ce3bd

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
tools/gen_spirv_spec: fix wrong use of BoundedArray

It incorrectly, was returning an error, when it actually wanted to
assert that the array bounds were not exceeded. Fixed by using ArrayList
instead.

```

## Parents

- [46af8bd2ba723e4dbcff07e457d2786cd7c74440](https://git.cafe/gitcafe/zig/commit/46af8bd2ba723e4dbcff07e457d2786cd7c74440?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/ddd8d5918890177e0d6e5477c1be3701d5973908?format=markdown)
