dillon1000/react

Commit

Reset scopes from AnalyzeFunctions in InferReactiveScopeVariables

Updates InferReactiveScopeVariables to first prune scopes attached during 
AnalyzeFunctions. This ensures that after this pass the only scopes that exist 
on identifiers in the outer program are those that the pass explicitly inferred, 
and not accidentally leftover.
Browse files
Changed paths2 files
First-parent comparison
M compiler/packages/babel-plugin-react-forget/src/ReactiveScopes/InferReactiveScopeVariables.ts ModifiedM compiler/packages/babel-plugin-react-forget/src/__tests__/fixtures/compiler/repro-mutable-range-shared-inner-outer-function.expect.md Modified
Patch

Files changed

Rendering syntax-highlighted changes…