1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 23:27:35 +00:00

LibCpp: Fix busted outln() invocations

This commit is contained in:
Andreas Kling 2021-02-21 21:30:07 +01:00
parent 67d5c9e154
commit 0bb2729423

View file

@ -99,12 +99,12 @@ void FunctionDefinition::dump(size_t indent) const
{ {
ASTNode::dump(indent); ASTNode::dump(indent);
print_indent(indent); print_indent(indent);
outln("{"); outln("{{");
for (const auto& statement : m_statements) { for (const auto& statement : m_statements) {
statement.dump(indent + 1); statement.dump(indent + 1);
} }
print_indent(indent); print_indent(indent);
outln("}"); outln("}}");
} }
NonnullRefPtrVector<Declaration> FunctionDefinition::declarations() const NonnullRefPtrVector<Declaration> FunctionDefinition::declarations() const