dillon1000/react
Commit
Browse files 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.
Changed paths5 files
First-parent comparisoncompiler/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…