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