1740
1741 // Legacy signature
1742▶ let mut todo_errors: Vec<react_compiler_diagnostics::CompilerErrorDetail> =
1743 Vec::new();
1744 let legacy_effects = compute_effects_for_legacy_signature(
· · ·
1751 env,
1752 &context.function_values,
1753▶ &mut todo_errors,
1754 );
1755 // Todo errors should short-circuit (TS throws throwTodo)
· · ·
1755▶ // Todo errors should short-circuit (TS throws throwTodo)
1756 if let Some(err_detail) = todo_errors.into_iter().next() {
1757 return Err(CompilerDiagnostic::from_detail(err_detail));
· · ·
1756▶ if let Some(err_detail) = todo_errors.into_iter().next() {
1757 return Err(CompilerDiagnostic::from_detail(err_detail));
1758 }
· · ·
2587 env: &Environment,
2588 function_values: &FxHashMap<ValueId, FunctionId>,
2589▶ todo_errors: &mut Vec<react_compiler_diagnostics::CompilerErrorDetail>,
2590) -> Vec<AliasingEffect> {
2591 let return_value_reason = signature.return_value_reason.unwrap_or(ValueReason::Other);
+ 6 more matches in this file