Skip to content

Commit c07534a

Browse files
committed
fix last commit
1 parent 5faad01 commit c07534a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/error.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ struct ErrorInfo {
1414
size_t col;
1515
size_t length;
1616

17-
string toString() => format("%s:%d:%d", file, line, col);
17+
string toString() => format("%s:%d:%d", file, line + 1, col + 1);
1818
}
1919

2020
private string FixPath(string path) => path.asRelativePath(getcwd()).array;

0 commit comments

Comments
 (0)