Skip to content

Commit

Permalink
Fix #20855: -v command line switch should show import sources
Browse files Browse the repository at this point in the history
  • Loading branch information
dkorpel committed Feb 15, 2025
1 parent e85bc5f commit 35a9079
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/src/dmd/dmodule.d
Original file line number Diff line number Diff line change
Expand Up @@ -548,7 +548,7 @@ extern (C++) final class Module : Package
buf.writeByte('.');
}
buf.printf("%s\t(%s)", ident.toChars(), m.srcfile.toChars());
message("import %s", buf.peekChars());
message("import %s (from %s)", buf.peekChars(), loc.toChars());
}
if((m = m.parse()) is null) return null;

Expand Down

0 comments on commit 35a9079

Please sign in to comment.