dillon1000/react

Commit

Fix previous examples, alias across phis

Within the InferMutableRanges fixpoint iteration, we need to alias phi operands 
with the phi id if the phi id is later mutated.
Browse files
Changed paths5 files
First-parent comparison
M compiler/forget/src/Inference/InferMutableRanges.ts ModifiedM compiler/forget/src/Inference/InferMutableRangesForAlias.ts ModifiedM compiler/forget/src/__tests__/fixtures/hir/obj-mutated-after-if-else-with-alias.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/obj-mutated-after-nested-if-else-with-alias.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/sequence-expression.expect.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…