diff options
| author | gingerBill <bill@gingerbill.org> | 2024-03-04 20:10:34 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-03-04 20:10:34 +0000 |
| commit | 3e295734cb5bc6e4e6e446d3f53d8138947f225a (patch) | |
| tree | f1c378fc25b8f37ae2e2ee7bd4e69aaa304ab2ab /src | |
| parent | 4c35633e0147b481dd7b2352d6bdb603f78c6dc7 (diff) | |
Correct `is_type_comparable` for `bit_field`
Diffstat (limited to 'src')
| -rw-r--r-- | src/types.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/types.cpp b/src/types.cpp index 57ae4e81d..e4db31246 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -2400,6 +2400,9 @@ gb_internal bool is_type_comparable(Type *t) { case Type_SimdVector: return true; + + case Type_BitField: + return is_type_comparable(t->BitField.backing_type); } return false; } |