diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-06-26 14:47:38 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2025-06-26 14:47:38 +0200 |
| commit | 1fbc5641c0212dc30ea514f69a640a6d1fb5bd11 (patch) | |
| tree | c892c496618cbc970cbb0c70dae9ee86ca94b02c /src/types.cpp | |
| parent | 8410871cb8cc122572ff55ef929f6acd35782677 (diff) | |
Add to `tests/internal`
Turn repro code into a proper test, and delete superfluous files from Odin root.
Diffstat (limited to 'src/types.cpp')
| -rw-r--r-- | src/types.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/types.cpp b/src/types.cpp index 0e885afab..74da7f6aa 100644 --- a/src/types.cpp +++ b/src/types.cpp @@ -1249,7 +1249,6 @@ gb_internal bool is_type_unsigned(Type *t) { return (t->Basic.flags & BasicFlag_Unsigned) != 0; } if (t->kind == Type_Enum) { - // TODO(slowhei): Is an enum's base type guaranteed to be TypeKind::Basic? Even if its backing type is implicitly int? return (t->Enum.base_type->Basic.flags & BasicFlag_Unsigned) != 0; } return false; |