turborepo
Skip unreachable code when early return can be statically analysed
#8890
Merged

Skip unreachable code when early return can be statically analysed #8890

sokra merged 15 commits into main from sokra/early-return
sokra
turbo-orchestrator turbo-orchestrator added created-by: turbopack
turbo-orchestrator turbo-orchestrator added owned-by: turbopack
vercel
sokra
sokra sokra marked this pull request as ready for review 1 year ago
sokra sokra requested a review 1 year ago
sokra sokra requested a review from ForsakenHarmony ForsakenHarmony 1 year ago
sokra sokra requested a review from kdy1 kdy1 1 year ago
sokra sokra changed the title handle early returns Skip unreachable code when early return can be statically analysed 1 year ago
github-actions
github-actions
sokra sokra requested a review from arlyon arlyon 1 year ago
sokra sokra force pushed from 481143fa to 770f1805 1 year ago
github-actions
Base automatically changed from sokra/logical-evaluation to main 1 year ago
sokra handle early returns
39737e1e
sokra improve test case
8bfc2eb3
sokra uncomment code
e3349563
sokra fix test case
d5e01cb8
sokra clippy
1aa6523a
sokra handle try catch finally
1d8ebbd3
sokra fix
7e725fc6
sokra add switch case support
eb154be2
sokra remove not-sure
a61efa94
sokra fix case when both paths return
a638562d
sokra sokra force pushed from 53af1453 to a638562d 1 year ago
sokra fix var declarations with destructing
3e6d4727
sokra handle hoisted effects
43fa2730
sokra clippy
529804af
sokra fix constructor handling
40148dce
kdy1
kdy1 commented on 2024-08-01
kdy1
kdy1 commented on 2024-08-01
kdy1
kdy1 approved these changes on 2024-08-01
sokra review, handle block scope, handle vars in getter/setter
f64f868b
sokra sokra enabled auto-merge (squash) 1 year ago
sokra sokra merged 5fc75a38 into main 1 year ago
sokra sokra deleted the sokra/early-return branch 1 year ago

Login to write a write a comment.

Login via GitHub

Assignees
No one assigned
Labels
Milestone