dillon1000/react
Commit
Browse files Optimize away extraneous blocks
In codegen we can flatten away extraneous BlockStatements if they turn out not to need a label.
Changed paths3 files
First-parent comparisoncompiler/forget/src/ReactiveScopes/CodegenReactiveFunction.ts ModifiedM compiler/forget/src/__tests__/fixtures/compiler/complex-while.expect.md ModifiedM compiler/forget/src/__tests__/fixtures/compiler/unconditional-break-label.expect.md ModifiedPatch
Files changed
Rendering syntax-highlighted changes…