mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-04 12:07:45 +00:00
Add extra asserts
This commit is contained in:
@@ -2925,6 +2925,8 @@ gb_internal void init_core_type_info(Checker *c) {
|
||||
return;
|
||||
}
|
||||
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_ptr = alloc_type_pointer(t_type_info);
|
||||
|
||||
Reference in New Issue
Block a user