dillon1000/react

Commit

[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.
Browse files
Changed paths3 files
First-parent comparison
M compiler/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 Added
Patch

Files changed

Rendering syntax-highlighted changes…