next.js
62f39136 - [turbopack] cleanup analyzer (#83983)

Commit
93 days ago
[turbopack] cleanup analyzer (#83983) Remove `special_cases` a dead module Standardize spelling of `undefined` (and `NaN` and `Infinity`). These are all standard globals with primitive values that are better modeled as constants instead of FreeVars Don't emit FreeVar effects for these things and consolodate free var handling. Finally, fix a devastating bug in `async` and `function*` return value modeling. `async` functions always return a promise and as such are never falsey, but our prior analysis wouldn't apply this behavior. Delete a bunch of unnecessary `is_in_try` fields. We really only care about `is_in_try` for certain function calls, so the computation and storage were redundant.
Author
Parents
Loading