Skip to content

Commit 3b75c06

Browse files
committed
[AST] Fix typo in debug output
When ASTSectionImporter is unable to load a module Foo, it outputs `Unable to load module'Foo'.`. Note that there's no space between "module" and "'Foo'". Add a colon and a space.
1 parent 92d9b3a commit 3b75c06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ASTSectionImporter/ASTSectionImporter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ bool swift::parseASTSection(SerializedModuleLoader *SML, StringRef buf,
5050
} else {
5151
llvm::dbgs() << "Unable to load module";
5252
if (!info.name.empty())
53-
llvm::dbgs() << '\'' << info.name << '\'';
53+
llvm::dbgs() << " '" << info.name << '\'';
5454
llvm::dbgs() << ".\n";
5555
}
5656

0 commit comments

Comments
 (0)