Skip to content

Commit cd18c38

Browse files
authored
Merge pull request #12201 from PaulTaykalo/ast-dump-enum-case-expression-fix
Fix AST dump generation for `enum_is_case_expr` Node
2 parents 4695214 + 26c5077 commit cd18c38

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/AST/ASTDumper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2343,7 +2343,7 @@ class PrintExpr : public ExprVisitor<PrintExpr> {
23432343
printCommon(E, "enum_is_case_expr") << ' ' <<
23442344
E->getEnumElement()->getName() << "\n";
23452345
printRec(E->getSubExpr());
2346-
2346+
PrintWithColorRAII(OS, ParenthesisColor) << ')';
23472347
}
23482348
void visitUnresolvedPatternExpr(UnresolvedPatternExpr *E) {
23492349
printCommon(E, "unresolved_pattern_expr") << '\n';

0 commit comments

Comments
 (0)