@samitouri / QOS-React-2 / commits / 4e07b8a869

[hir] Do not alias Identifier as Store

Identifiers are never stored (Effect.Store), they are always mutated (Effect.Mutate) and aliased in the InferAlias pass.

Sathya Gunasekaran committed Feb 7, 2023 at 16:59 UTC 4e07b8a869aa9910b2128caf5a5b5bb338de3651
1 file changed -1
compiler/forget/src/Inference/InferAliasForStores.ts
-1
@@ -25,7 +25,6 @@ export function inferAliasForStores(
25 continue;
26 }
27 switch (value.kind) {
28 - case "Identifier":
28 case "ArrayExpression":
29 case "ObjectExpression":
30 case "ComputedStore":