mirror of
https://github.com/morluto/rea.git
synced 2026-10-29 19:05:45 +00:00
fix(javascript): share iteration and equality invocation facts
This commit is contained in:
1 parent
0729aba6d7
commit
e597e090b0
5 files changed
+37
-10
No files matched your search
@@ -196,10 +196,9 @@ const emitterIdentity = (
|
||||
...read.binding.initializers,
|
||||
...read.binding.referenceInitializers,
|
||||
];
|
||||
const replaced = [
|
||||
...binding.initializers,
|
||||
...binding.referenceInitializers,
|
||||
].some(({ assignment }) => assignment);
|
||||
const replaced = binding.definitions.some(
|
||||
({ kind }) => kind === "assignment",
|
||||
);
|
||||
const origin = origins.length === 1 ? origins[0] : undefined;
|
||||
const complete =
|
||||
!replaced ||
|
||||
|
||||
Reference in new issue
Block a user