Minimize add_type_info_type usage

This commit is contained in:
gingerBill
2023-01-03 17:26:05 +00:00
parent 2720e98127
commit 855ebceadc
3 changed files with 10 additions and 8 deletions
+1 -1
View File
@@ -3573,7 +3573,7 @@ gb_internal bool check_builtin_procedure(CheckerContext *c, Operand *operand, As
Entity *base_type_entity = alloc_entity_type_name(scope, token, elem, EntityState_Resolved);
add_entity(c, scope, nullptr, base_type_entity);
add_type_info_type(c, soa_struct);
// add_type_info_type(c, soa_struct);
operand->type = soa_struct;
break;