Skip to content

Commit

Permalink
[compiler] Clean up deadcode: DeriveMinimalDeps (non-hir fork) (#32104)
Browse files Browse the repository at this point in the history
(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
  • Loading branch information
mofeiZ authored Feb 18, 2025
1 parent 498514c commit 19cc5af
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 641 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ import {
ReactiveScopeDependency,
} from '../HIR';
import {printIdentifier} from '../HIR/PrintHIR';
import {ReactiveScopePropertyDependency} from '../ReactiveScopes/DeriveMinimalDependencies';

/**
* Simpler fork of DeriveMinimalDependencies, see PropagateScopeDependenciesHIR
Expand Down Expand Up @@ -91,7 +90,7 @@ export class ReactiveScopeDependencyTreeHIR {
* dependency. This effectively truncates @param dep to its maximal
* safe-to-evaluate subpath
*/
addDependency(dep: ReactiveScopePropertyDependency): void {
addDependency(dep: ReactiveScopeDependency): void {
const {identifier, path} = dep;
let depCursor = ReactiveScopeDependencyTreeHIR.#getOrCreateRoot(
identifier,
Expand Down
Loading

0 comments on commit 19cc5af

Please sign in to comment.