File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
compiler/packages/babel-plugin-react-compiler/src Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -309,7 +309,7 @@ function runWithEnvironment(
309309 env . config . validateExhaustiveEffectDependencies
310310 ) {
311311 // NOTE: this relies on reactivity inference running first
312- validateExhaustiveDependencies ( hir , env ) . unwrap ( ) ;
312+ validateExhaustiveDependencies ( hir ) . unwrap ( ) ;
313313 }
314314 }
315315
Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ const DEBUG = false;
8989 */
9090export function validateExhaustiveDependencies (
9191 fn : HIRFunction ,
92- env : Environment ,
9392) : Result < void , CompilerError > {
93+ const env = fn . env ;
9494 const reactive = collectReactiveIdentifiersHIR ( fn ) ;
9595
9696 const temporaries : Map < IdentifierId , Temporary > = new Map ( ) ;
You can’t perform that action at this time.
0 commit comments