Skip to content

Commit 19cc5af

Browse files
authored
[compiler] Clean up deadcode: DeriveMinimalDeps (non-hir fork) (#32104)
(title) --- [//]: # (BEGIN SAPLING FOOTER) Stack created with [Sapling](https://sapling-scm.com). Best reviewed with [ReviewStack](https://reviewstack.dev/facebook/react/pull/32104). * #32287 * __->__ #32104 * #32098 * #32097
1 parent 498514c commit 19cc5af

File tree

2 files changed

+1
-641
lines changed

2 files changed

+1
-641
lines changed

compiler/packages/babel-plugin-react-compiler/src/HIR/DeriveMinimalDependenciesHIR.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ import {
1313
ReactiveScopeDependency,
1414
} from '../HIR';
1515
import {printIdentifier} from '../HIR/PrintHIR';
16-
import {ReactiveScopePropertyDependency} from '../ReactiveScopes/DeriveMinimalDependencies';
1716

1817
/**
1918
* Simpler fork of DeriveMinimalDependencies, see PropagateScopeDependenciesHIR
@@ -91,7 +90,7 @@ export class ReactiveScopeDependencyTreeHIR {
9190
* dependency. This effectively truncates @param dep to its maximal
9291
* safe-to-evaluate subpath
9392
*/
94-
addDependency(dep: ReactiveScopePropertyDependency): void {
93+
addDependency(dep: ReactiveScopeDependency): void {
9594
const {identifier, path} = dep;
9695
let depCursor = ReactiveScopeDependencyTreeHIR.#getOrCreateRoot(
9796
identifier,

0 commit comments

Comments
 (0)