Skip to content

Commit 399e050

Browse files
committedFeb 16, 2025
Fix dlang#20855: -v command line switch should show import sources
1 parent 0131a00 commit 399e050

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎compiler/src/dmd/dmodule.d

+1-1
Original file line numberDiff line numberDiff line change
@@ -548,7 +548,7 @@ extern (C++) final class Module : Package
548548
buf.writeByte('.');
549549
}
550550
buf.printf("%s\t(%s)", ident.toChars(), m.srcfile.toChars());
551-
message("import %s", buf.peekChars());
551+
message("import %s (from %s)", buf.peekChars(), loc.toChars());
552552
}
553553
if((m = m.parse()) is null) return null;
554554

0 commit comments

Comments
 (0)
Please sign in to comment.