From 891a42fe2d3014b658bb137d872c16fd5010d159 Mon Sep 17 00:00:00 2001 From: Malte Ubl Date: Tue, 20 Oct 2026 04:29:56 -0700 Subject: [PATCH] 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 --- packages/compiler/src/frontend/npm-static-bundled-esm.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/compiler/src/frontend/npm-static-bundled-esm.ts b/packages/compiler/src/frontend/npm-static-bundled-esm.ts index 53564d787..d5635bc2e 100644 --- a/packages/compiler/src/frontend/npm-static-bundled-esm.ts +++ b/packages/compiler/src/frontend/npm-static-bundled-esm.ts @@ -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); }