Fix the self-hosting build of the arena runtime

This commit is contained in:
Chris Tate
2026-10-26 16:20:12 -05:00
parent 9c7d552fdc
commit 6bdd3e39ca
@@ -438,7 +438,11 @@ export function analyzeRegionGroups(mod: IrModule): RegionGroups {
const info: UseInfo = {};
const use = useOf(parents[index]!, parents.slice(0, index), false, info);
if (use !== "internal") {
Object.assign(out, info);
// Field by field: an Object.assign onto a record makes the
// self-hosted compiler read class and record properties dynamically.
if (info.bound !== undefined) out.bound = info.bound;
if (info.at !== undefined) out.at = info.at;
if (info.target !== undefined) out.target = info.target;
return use;
}
index = info.at!;