dillon1000/react
Commit
Browse files [λ] Store and define captured bindings as context
This lets us treat global references differently from captured references.
Changed paths11 files
First-parent comparisoncompiler/forget/src/HIR/BuildHIR.ts ModifiedM compiler/forget/src/HIR/HIR.ts ModifiedM compiler/forget/src/HIR/HIRBuilder.ts ModifiedM compiler/forget/src/Inference/AnalyseFunctions.ts ModifiedM compiler/forget/src/Inference/InferReferenceEffects.ts ModifiedM compiler/forget/src/SSA/EnterSSA.ts ModifiedA compiler/forget/src/__tests__/fixtures/hir/capture-param-mutate.expect.md AddedR compiler/forget/src/__tests__/fixtures/hir/error._bug_fbsource_pokes_infer_reference_effects.js →compiler/forget/src/__tests__/fixtures/hir/capture-param-mutate.js RenamedA compiler/forget/src/__tests__/fixtures/hir/capturing-func-mutate-nested.expect.md AddedM compiler/forget/src/__tests__/fixtures/hir/capturing-func-mutate-nested.js ModifiedD compiler/forget/src/__tests__/fixtures/hir/error._bug_fbsource_pokes_infer_reference_effects.expect.md DeletedPatch
Files changed
Rendering syntax-highlighted changes…