Skip to content

Commit

Permalink
fix: remove duplicate file extension in stack trace (#2655)
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench authored Sep 12, 2023
1 parent 87ad7d7 commit 1114871
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/noirc_errors/src/reporter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ fn stack_trace<'files>(
let source = files.source(call_item.file).expect("should get file source");

let (line, column) = location(source.as_ref(), call_item.span.start());
result += &format!("{}. {}.nr:{}:{}\n", i + 1, path, line, column);
result += &format!("{}. {}:{}:{}\n", i + 1, path, line, column);
}

result
Expand Down

0 comments on commit 1114871

Please sign in to comment.