dillon1000/react

Commit

Handle phi nodes for ValidateFrozenLambdas

Extends ValidateFrozenLambdas to find cases where a mutable lambda flows into a 
phi node and the phi is later frozen.
Browse files
Changed paths3 files
First-parent comparison
M compiler/forget/packages/babel-plugin-react-forget/src/HIR/ValidateFrozenLambdas.ts ModifiedA compiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.invalid-freeze-conditionally-mutable-lambda.expect.md AddedA compiler/forget/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/error.invalid-freeze-conditionally-mutable-lambda.js Added
Patch

Files changed

Rendering syntax-highlighted changes…