dillon1000/react
Commit
Browse files [λ] Run analyseFunctions on inner func exprs
Previously we would skip out on calling analyseFunctions on inner function exprs so we missed out on catching aliased mutation in a different scope.
Changed paths6 files
First-parent comparisoncompiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/Inference/AnalyseFunctions.ts ModifiedA compiler/forget/src/__tests__/fixtures/hir/_bug_capture-mutate-across-fns.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/_bug_capture-mutate-across-fns.js AddedA compiler/forget/src/__tests__/fixtures/hir/capture-indirect-mutate-alias.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/capture-indirect-mutate-alias.js AddedPatch
Files changed
Rendering syntax-highlighted changes…