dillon1000/react

Commit

[λ] 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.
Browse files
Changed paths6 files
First-parent comparison
M compiler/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 Added
Patch

Files changed

Rendering syntax-highlighted changes…