dillon1000/react

Commit

Capturing a frozen value is a Read

If a value is known to be frozen (or potentially frozen), then it doesn't need 
to be considered 'captured' since no mutation can occur via aliasing.
Browse files
Changed paths5 files
First-parent comparison
M compiler/forget/src/Inference/InferReferenceEffects.ts ModifiedA compiler/forget/src/__tests__/fixtures/hir/same-variable-as-dep-and-redeclare-maybe-frozen.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/same-variable-as-dep-and-redeclare-maybe-frozen.js AddedA compiler/forget/src/__tests__/fixtures/hir/same-variable-as-dep-and-redeclare.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/same-variable-as-dep-and-redeclare.js Added
Patch

Files changed

Rendering syntax-highlighted changes…