mirror of
https://github.com/odin-lang/Odin.git
synced 2025-12-31 18:32:12 +00:00
Simple compare is also comparable
This commit is contained in:
@@ -410,7 +410,7 @@ gb_internal u32 type_info_flags_of_type(Type *type) {
|
||||
flags |= TypeInfoFlag_Comparable;
|
||||
}
|
||||
if (is_type_simple_compare(type)) {
|
||||
flags |= TypeInfoFlag_Simple_Compare;
|
||||
flags |= TypeInfoFlag_Comparable|TypeInfoFlag_Simple_Compare;
|
||||
}
|
||||
return flags;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user