mirror of
https://github.com/Ed94/Odin.git
synced 2026-06-14 18:02:22 -07:00
Allow comparisons with bit field values
This commit is contained in:
@@ -1490,6 +1490,9 @@ bool is_type_comparable(Type *t) {
|
||||
case Type_BitSet:
|
||||
return true;
|
||||
|
||||
case Type_BitFieldValue:
|
||||
return true;
|
||||
|
||||
case Type_Opaque:
|
||||
return is_type_comparable(t->Opaque.elem);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user