Skip to content

Commit df9da29

Browse files
committed
Improve error message
1 parent a4ced06 commit df9da29

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/dfix.d

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,8 @@ void upgradeFile(string fileName, bool dip64, bool dip65)
118118
auto mod = parseModule(parseTokens, fileName, null, &reportErrors, &errorCount);
119119
if (errorCount > 0)
120120
{
121-
stderr.writefln("%d parse errors encountered. Aborting.", errorCount);
121+
stderr.writefln("%d parse errors encountered. Aborting upgrade of %s",
122+
errorCount, fileName);
122123
return;
123124
}
124125

0 commit comments

Comments
 (0)