This commit is contained in:
gingerBill
2023-01-16 11:41:58 +00:00
parent 54f02f59db
commit 68b2d4b9e2
2 changed files with 11 additions and 1 deletions

View File

@@ -3097,6 +3097,9 @@ gb_internal lbValue lb_build_expr_internal(lbProcedure *p, Ast *expr) {
// NOTE(bill): Short on constant values
return lb_const_value(p->module, type, tv.value);
} else if (tv.mode == Addressing_Type) {
// NOTE(bill, 2023-01-16): is this correct? I hope so at least
return lb_typeid(m, tv.type);
}
switch (expr->kind) {