Regenerate the IR field readers and fix the shard tests

This commit is contained in:
Chris Tate
2026-10-26 11:52:15 -05:00
parent 6622ae4e22
commit a15c6aba4a
2 changed files with 6 additions and 2 deletions
@@ -167,6 +167,7 @@ export function eachStringField(
}
case "dynCheck": {
visit(node.kind, "kind");
if (typeof node.inferredSite === "string") visit(node.inferredSite, "inferredSite");
return;
}
case "dynDestrCheck": {
@@ -866,6 +867,9 @@ export function walkExprFields(node: IrExpr, walker: IrFieldWalker, skipType: bo
case "dynCheck": {
walker.string(node.kind);
walkExprFields(node.value, walker, skipType);
if (node.inferredSite !== undefined && node.inferredSite !== null) {
walker.string(node.inferredSite);
}
if (!skipType) {
walkTypeFields(node.type, walker, skipType);
}
+2 -2
View File
@@ -119,8 +119,8 @@ const OVERLAY_KNOWN: Record<string, Known> = {
// `--help` reaches an unsupported operation in both builds; with the
// overlay it fails at a checked conversion of an option value first
// (results/design-shape-inference/NOTES.md, open item).
"commander-calc": { run: "expected number at $, got undefined", argvs: [["--help"]] },
"commander-calc-async": { run: "expected number at $, got undefined", argvs: [["--help"]] },
"commander-calc": { run: "expected boolean at $, got undefined", argvs: [["--help"]] },
"commander-calc-async": { run: "expected boolean at $, got undefined", argvs: [["--help"]] },
};
/** Per-case timeouts past the default 120 s: the undici cases compile the