insert_poly_slns_into_scope(ps_type->scope, slns);
AstStructType* concrete_struct = (AstStructType *) ast_clone(context.ast_alloc, ps_type->base_struct);
+ bh_table_put(AstStructType *, ps_type->concrete_structs, unique_key, concrete_struct);
Entity struct_entity = {
.state = Entity_State_Resolve_Symbols,
return NULL;
}
- bh_table_put(AstStructType *, ps_type->concrete_structs, unique_key, concrete_struct);
-
Type* cs_type = type_build_from_ast(context.ast_alloc, (AstType *) concrete_struct);
// CLEANUP: This should not be necessary since the only place this function can be