# fix container member access for fn/struct-fn · gitcafe/zig

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

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

Visibility: public

Requested revision: a23a022820d24f660b314457e1984ceb2586e109

Requested commit: a23a022820d24f660b314457e1984ceb2586e109

Commit: a23a022820d24f660b314457e1984ceb2586e109

Tree: 5de4e8092445464ef9fe23ecac3af2cc6f94dbd0

Author: Michael Dusan

Committer: Michael Dusan

## Message

```
fix container member access for fn/struct-fn

- decls brought in via `usingnamespace` were not always found
  because lookup was performed directly against decl_table and
  use_decls was never consulted
- fix to use find_container_decl() path instead
- closes #3367

```

## Parents

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

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