[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.
This commit is contained in:
Sathya Gunasekaran
2023-02-07 16:59:35 +00:00
parent 195f473cb4
commit 4e07b8a869
@@ -25,7 +25,6 @@ export function inferAliasForStores(
continue;
}
switch (value.kind) {
case "Identifier":
case "ArrayExpression":
case "ObjectExpression":
case "ComputedStore":