dillon1000/react
Commit
Browse files [hir] Remove unreachable fallthroughs separately from shrink
shrink visits all the fallthroughs even if they are unreachable so this isn't the right place to prune unreachable blocks. This PR moves pruning into a separate pass.
Changed paths3 files
First-parent comparisoncompiler/forget/src/HIR/HIRBuilder.ts ModifiedA compiler/forget/src/__tests__/fixtures/hir/return-conditional.expect.md AddedA compiler/forget/src/__tests__/fixtures/hir/return-conditional.js AddedPatch
Files changed
Rendering syntax-highlighted changes…