mirror of
https://github.com/morluto/rea.git
synced 2026-11-06 14:56:32 +00:00
fix(javascript): require complete receiver ownership proofs
This commit is contained in:
1 parent
cc4f805541
commit
2496256cb7
5 files changed
+383
-311
No files matched your search
@@ -283,7 +283,7 @@ const visitSemanticReferenceEffectsAtSite = (
|
||||
} else if (lookup.kind === "ambient" || lookup.kind === "uncertain-ambient") {
|
||||
for (const node of state.ambientBindingWrites.get(root.name) ?? [])
|
||||
if (!retain("ambient-write", node)) return metadata;
|
||||
const ambientRoots = createAmbientPathResolver(state, false)(root);
|
||||
const ambientRoots = createAmbientPathResolver(state, false)(root).paths;
|
||||
for (const ambientRoot of ambientRoots) {
|
||||
const selectedPath = [...ambientRoot, ...path];
|
||||
for (const [kind, effects] of [
|
||||
|
||||
Reference in new issue
Block a user