mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 06:38:47 +00:00
Add extra asserts
This commit is contained in:
@@ -2925,6 +2925,8 @@ gb_internal void init_core_type_info(Checker *c) {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
Entity *type_info_entity = find_core_entity(c, str_lit("Type_Info"));
|
Entity *type_info_entity = find_core_entity(c, str_lit("Type_Info"));
|
||||||
|
GB_ASSERT(type_info_entity != nullptr);
|
||||||
|
GB_ASSERT(type_info_entity->type != nullptr);
|
||||||
|
|
||||||
t_type_info = type_info_entity->type;
|
t_type_info = type_info_entity->type;
|
||||||
t_type_info_ptr = alloc_type_pointer(t_type_info);
|
t_type_info_ptr = alloc_type_pointer(t_type_info);
|
||||||
|
|||||||
Reference in New Issue
Block a user