Use 1-based row/column in error messages

This commit is contained in:
2025-09-29 12:42:13 -07:00
parent bab25f8dce
commit 495ed78c80
6 changed files with 630 additions and 855 deletions

View File

@@ -444,8 +444,8 @@ const processOutput = (
);
if (match) {
let [_full, kind, file, line, col, message] = match;
let lineNumber = +line + 1;
let column = +col + 1;
let lineNumber = +line;
let column = +col;
// FIXME - pass the real path in
if (fn && fn !== file) {
lineNumber = column = 0;