# fix \`@export\` for arrays not respecting the symbol name · gitcafe/zig

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

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

Visibility: public

Requested revision: f8f054b354088eb9e76d9207972022bc1d3dfc28

Requested commit: f8f054b354088eb9e76d9207972022bc1d3dfc28

Commit: f8f054b354088eb9e76d9207972022bc1d3dfc28

Tree: a45396b18548f911ae88067c98c9c5afd1ad3358

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
fix `@export` for arrays not respecting the symbol name

Previously, the symbol name parameter of `@export` would be ignored for
variables, and the variable name would be used for the symbol name.
Now it works as expected.

See #2679

```

## Parents

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

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