Skip to content

Commit 35a9079

Browse files
committed
Fix dlang#20855: -v command line switch should show import sources
1 parent e85bc5f commit 35a9079

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)