Split a chained Set call the self-hosted compiler cannot lower

`deadDeclarators.add(d).add(memoDecl)` stopped the self-hosting build
with "chained Set method calls ... has no scriptc lowering yet".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Malte Ubl
2026-10-20 04:29:56 -07:00
co-authored by Claude Opus 5.5
parent 18034065d6
commit 891a42fe2d
@@ -664,7 +664,8 @@ export function lowerBundledEsmInits(
text: `(${init}${getterText(value)})`,
});
}
deadDeclarators.add(d).add(memoDecl);
deadDeclarators.add(d);
deadDeclarators.add(memoDecl);
loaderSpans.push({ start: d.getStart(sf), end: d.getEnd() });
lowered.add(target);
}