dillon1000/react
Commit
Browse files 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.
Changed paths5 files
First-parent comparisoncompiler/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 ModifiedPatch
Files changed
Rendering syntax-highlighted changes…