diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-11 15:43:30 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-10-11 15:43:30 +0200 |
| commit | 5dbade87e9cc806d581a563b9b587eaf7314fafd (patch) | |
| tree | b964a2df8033192a9f5f4cd150ce7f6e3a15d3c8 /src | |
| parent | d1d8df34116a53c7bb2d2fa1cfc10cfe0f73663b (diff) | |
Simple compare is also comparable
Diffstat (limited to 'src')
| -rw-r--r-- | src/types.cpp | 2 |
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; } |