Skip to content

Commit db07476

Browse files
committed
Add missing single quotes in AST dump.
Swift SVN r31321
1 parent f72b213 commit db07476

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/AST/ASTDumper.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ namespace {
412412
if (KindString)
413413
OS << " kind=" << KindString;
414414

415-
OS << " ";
415+
OS << " '";
416416
interleave(ID->getFullAccessPath(),
417417
[&](const ImportDecl::AccessPathElement &Elem) {
418418
OS << Elem.first;
@@ -442,7 +442,7 @@ namespace {
442442

443443
void visitTypeAliasDecl(TypeAliasDecl *TAD) {
444444
printCommon(TAD, "typealias");
445-
OS << " type=";
445+
OS << " type='";
446446
if (TAD->hasUnderlyingType())
447447
OS << TAD->getUnderlyingType().getString();
448448
else

0 commit comments

Comments
 (0)