dillon1000/react
Commit
Browse files 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.
Changed paths3 files
First-parent comparisoncompiler/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 AddedPatch
Files changed
Rendering syntax-highlighted changes…