fix(javascript): derive loader references from lexical binding ownership

Use shared lexical bindings and recovered bundler identities for require and chunk references. Preserve uncertain writes as unresolved evidence; remove name-only loader aliases and repeated definition scans.

Reviewed-PR: #2989
Co-authored-by: Hussnain Ahmad <ha7886899@gmail.com>
This commit is contained in:
morlutoandHussnain Ahmad committed 2026-10-14 16:10:46 +08:00
1 parent f2f83934d2
commit eef4a0bfb4
8 files changed
+509 -32

No files matched your search

@@ -47,6 +47,7 @@ describe("parameter references copied into function body bindings", () => {
scopeId: "body",
name: "arg",
kind: "variable",
declarationKinds: new Set(),
mutable: true,
memberWrites: [],
escapedPaths: [],