fix(javascript): avoid argument limits when expanding escaped receivers

This commit is contained in:
Ysopwnable authored and GitHub committed 2026-10-10 19:11:00 +08:00
1 parent 3cd80cbb88
commit bace2c5a4f
3 files changed
+38 -3

No files matched your search

@@ -343,7 +343,8 @@ export const collectSemanticMemberMutations = (
if (paths.has(pathKey)) continue;
paths.add(pathKey);
expanded.set(node, paths);
pending.push(...expandedValues(node, value.path, "escape"));
for (const reference of expandedValues(node, value.path, "escape"))
pending.push(reference);
}
}
const byPath = escapedLeaves.get(root) ?? new Map();