dillon1000/react

Commit

Retain original structure of labeled blocks

Handles some edge-cases where we previously flattened away some of the structure 
of a labeled block, instead ensuring that we retain the original shape. See the 
output. 

## Test Plan 

Tested on the internal app we're focused on (w useMemo inlining enabled), it 
works fine.
Browse files
Changed paths5 files
First-parent comparison
M compiler/forget/src/HIR/MergeConsecutiveBlocks.ts ModifiedM compiler/forget/src/ReactiveScopes/BuildReactiveFunction.ts ModifiedM compiler/forget/src/__tests__/fixtures/compiler/dominator.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/compiler/early-return.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/compiler/useMemo-inverted-if.expect.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…