Sema: replace all remaining aggregate interns related to @typeInfo

This commit is contained in:
Justus Klausecker
2025-08-08 15:30:40 +02:00
parent 79756e681d
commit 8f5ec2a1fb
2 changed files with 26 additions and 101 deletions

View File

@@ -779,7 +779,7 @@ fn constant(cg: *CodeGen, ty: Type, val: Value, repr: Repr) Error!Id {
const ip = &zcu.intern_pool;
log.debug("lowering constant: ty = {f}, val = {f}, key = {s}", .{ ty.fmt(pt), val.fmtValue(pt), @tagName(ip.indexToKey(val.toIntern())) });
if (val.isUndefDeep(zcu)) {
if (val.isUndef(zcu)) {
return cg.module.constUndef(result_ty_id);
}