mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 04:02:33 +00:00
Correct is_type_comparable for bit_field
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user