Skip to content

Commit 7782549

Browse files
committed
Update on "[compiler] Allow inferred non-optional paths when manual deps were optional"
If the inferred deps are more precise (non-optional) than the manual deps (optional) it should pass validation. The other direction also seems like it would be fine - inferring optional deps when the original was non-optional - but for now let's keep the "at least as precise" rule. [ghstack-poisoned]
2 parents 1bbb135 + 8065990 commit 7782549

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

compiler/packages/babel-plugin-react-compiler/src/ReactiveScopes/MergeReactiveScopesThatInvalidateTogether.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
import {CompilerError} from '..';
99
import {
1010
DeclarationId,
11-
DependencyPath,
1211
InstructionId,
1312
InstructionKind,
1413
Place,

0 commit comments

Comments
 (0)