dillon1000/react

Commit

Constant propagation converts computed access to static property where possible

Browse files
Changed paths5 files
First-parent comparison
M compiler/forget/src/Optimization/ConstantPropagation.ts ModifiedM compiler/forget/src/__tests__/fixtures/hir/alias-computed-load.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/hir/computed-store-alias.expect.md ModifiedA compiler/forget/src/__tests__/fixtures/hir/constant-computed.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/constant-computed.js Added
Patch

Files changed

Rendering syntax-highlighted changes…