aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2025-10-11 15:43:30 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2025-10-11 15:43:30 +0200
commit5dbade87e9cc806d581a563b9b587eaf7314fafd (patch)
treeb964a2df8033192a9f5f4cd150ce7f6e3a15d3c8 /src
parentd1d8df34116a53c7bb2d2fa1cfc10cfe0f73663b (diff)
Simple compare is also comparable
Diffstat (limited to 'src')
-rw-r--r--src/types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp
index 66c87a25d..cb830d08d 100644
--- a/src/types.cpp
+++ b/src/types.cpp
@@ -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;
}