We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d5a3e36 commit 840d52fCopy full SHA for 840d52f
lib/AST/ASTDumper.cpp
@@ -1533,17 +1533,6 @@ namespace {
1533
});
1534
}
1535
1536
- if (D->hasSingleExpressionBody()) {
1537
- // There won't be an expression if this is an initializer that was
1538
- // originally spelled "init?(...) { nil }", because "nil" is modeled
1539
- // via FailStmt in this context.
1540
- if (auto *Body = D->getSingleExpressionBody()) {
1541
- printRec(Body);
1542
-
1543
- return;
1544
- }
1545
1546
1547
if (auto Body = D->getBody(/*canSynthesize=*/false)) {
1548
printRec(Body, &D->getASTContext());
1549
0 commit comments