From 0dc7fa1657578c7b598fca717e17e4d23ebb6694 Mon Sep 17 00:00:00 2001 From: Tom French Date: Tue, 12 Sep 2023 09:38:22 +0100 Subject: [PATCH] fix: remove duplicate file extension in stack trace --- compiler/noirc_errors/src/reporter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/noirc_errors/src/reporter.rs b/compiler/noirc_errors/src/reporter.rs index bb8f169912..d695b2007b 100644 --- a/compiler/noirc_errors/src/reporter.rs +++ b/compiler/noirc_errors/src/reporter.rs @@ -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