# Sema: resoveTypeLayout resolves optionals and error unions too · gitcafe/zig

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

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

Visibility: public

Requested revision: 912e7dc54b9b49d96123ffd398e6d40b455997fe

Requested commit: 912e7dc54b9b49d96123ffd398e6d40b455997fe

Commit: 912e7dc54b9b49d96123ffd398e6d40b455997fe

Tree: abeeab43faa3f56766f745b905b9d189076a5972

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: resoveTypeLayout resolves optionals and error unions too

Previously it only worked on struct, union, and array.

```

## Parents

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

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