# Correct evaluation of optional type alignment · gitcafe/zig

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

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

Visibility: public

Requested revision: b91eaba38c6661b5eb3558b0c0b88a22a50d2a57

Requested commit: b91eaba38c6661b5eb3558b0c0b88a22a50d2a57

Commit: b91eaba38c6661b5eb3558b0c0b88a22a50d2a57

Tree: da720b471378adace5db8901323b1fac55bb831c

Author: LemonBoy

Committer: Andrew Kelley

## Message

```
Correct evaluation of optional type alignment

The lazy logic was too oversimplified and produced a different result
than the one computed later causing all kinds of problems.

Closes #4013

```

## Parents

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

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