Update Tilde

This commit is contained in:
gingerBill
2023-12-13 12:38:01 +00:00
parent 173527d631
commit bc99bacb21
10 changed files with 269 additions and 163 deletions

View File

@@ -3262,7 +3262,7 @@ gb_internal cgValue cg_build_expr_internal(cgProcedure *p, Ast *expr) {
if (is_type_untyped(type)) {
return cg_value(cast(TB_Node *)nullptr, t_untyped_uninit);
}
return cg_value(tb_inst_poison(p->func), type);
return cg_value(tb_inst_poison(p->func, cg_data_type(type)), type);
case_end;
case_ast_node(de, DerefExpr, expr);