mirror of
https://github.com/Ed94/Odin.git
synced 2026-07-12 14:21:25 -07:00
Fix ir bug; allow formatting options for arrays & et al.
This commit is contained in:
+1
-1
@@ -1763,7 +1763,7 @@ i64 type_size_of_internal(gbAllocator allocator, Type *t, TypePath *path) {
|
||||
} break;
|
||||
|
||||
case Type_Basic: {
|
||||
GB_ASSERT(is_type_typed(t));
|
||||
GB_ASSERT_MSG(is_type_typed(t), "%s", type_to_string(t));
|
||||
BasicKind kind = t->Basic.kind;
|
||||
i64 size = t->Basic.size;
|
||||
if (size > 0) {
|
||||
|
||||
Reference in New Issue
Block a user