# CBE: cleanup field access · gitcafe/zig

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

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

Visibility: public

Requested revision: bdb1e014a085fdd872886dddc66cfe1081887e5c

Requested commit: bdb1e014a085fdd872886dddc66cfe1081887e5c

Commit: bdb1e014a085fdd872886dddc66cfe1081887e5c

Tree: 78a17c0c3280910a26fc8758c9be75d837930c89

Author: Jacob Young

Committer: Jacob Young

## Message

```
CBE: cleanup field access

 * Implement @fieldParentPtr on a union
 * Refactor field access to ensure that it is handled consistently
 * Remove `renderTypecast` as it is now behaves the same as `renderType`

```

## Parents

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

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