# stage2: implement exporting using field access \(\#13136\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 1f196b9e2f9213fa395427bd5a8282ab154b1fe6

Requested commit: 1f196b9e2f9213fa395427bd5a8282ab154b1fe6

Commit: 1f196b9e2f9213fa395427bd5a8282ab154b1fe6

Tree: 32d35ba10b5cb2aeb5efc99d14eded8b8942ab34

Author: Luuk de Gram

Committer: GitHub

## Message

```
stage2: implement exporting using field access (#13136)

This implements `@export(a.b, .{..});` in semantic analysis,
allowing users to directly export a variable from a namespace.

* add test case for exporting using field access
```

## Parents

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

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