255}
256
257▶/// Record the TS-faithful Todo for an unsupported assignment-target wrapper
258/// node, mirroring the TypeScript `FindContextIdentifiers` pass. TS throws
259/// immediately (CompilerError.throwTodo in handleAssignment's default case),
· · ·
259▶/// immediately (CompilerError.throwTodo in handleAssignment's default case),
260/// aborting before BuildHIR ever runs or logs, so this must return Err rather
261/// than record-and-continue: otherwise Rust emits HIR debug entries for a
· · ·
269 let mut err = CompilerError::new();
270 err.push_error_detail(CompilerErrorDetail {
271▶ category: ErrorCategory::Todo,
272 reason: format!(
273 "[FindContextIdentifiers] Cannot handle Object destructuring assignment target {type_name}"