Skip to content

Commit

Permalink
Merge branch 'master' into tf/use-debug-artifacts
Browse files Browse the repository at this point in the history
* master:
  fix: Fix `update_acir` deleting all debug information (#2643)
  • Loading branch information
TomAFrench committed Sep 11, 2023
2 parents 5cdba2e + a8a5395 commit 0bb9fca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_errors/src/debug_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ impl DebugInfo {
let old_locations = mem::take(&mut self.locations);

for (old_opcode_location, source_locations) in old_locations {
let _ = update_map.new_locations(old_opcode_location).map(|new_opcode_location| {
update_map.new_locations(old_opcode_location).for_each(|new_opcode_location| {
self.locations.insert(new_opcode_location, source_locations.clone());
});
}
Expand Down

0 comments on commit 0bb9fca

Please sign in to comment.