# Sema: fix peer resolution alignment between slice and empty struct · gitcafe/zig

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

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

Visibility: public

Requested revision: a8ec306b493ddac701f279bfe82808525956f3f2

Requested commit: a8ec306b493ddac701f279bfe82808525956f3f2

Commit: a8ec306b493ddac701f279bfe82808525956f3f2

Tree: e65c5680a640121f8dd211102bf08d3a00c6cf54

Author: Jacob Young

Committer: Jacob Young

## Message

```
Sema: fix peer resolution alignment between slice and empty struct

An empty struct that coerces to an empty array should not force
`align(1)` on the resulting slice type.

```

## Parents

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

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