# Sema: fix intFitsInType implementation · gitcafe/zig

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

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

Visibility: public

Requested revision: 9ecc47cd7cd5b5fbda8dc78a5d2ab41d8f0d01a8

Requested commit: 9ecc47cd7cd5b5fbda8dc78a5d2ab41d8f0d01a8

Commit: 9ecc47cd7cd5b5fbda8dc78a5d2ab41d8f0d01a8

Tree: aadcb0b942205aaf703f57200c5110b3441b1182

Author: Andrew Kelley

Committer: Andrew Kelley

## Message

```
Sema: fix intFitsInType implementation

The function did not handle comptime_int in the case of lazy_align or
lazy_size.

```

## Parents

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

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