mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-30 13:19:47 +00:00
LibJS: Fix ConditionalExpression::dump()
Let's not print m_test three times :^)
This commit is contained in:
committed by
Andreas Kling
parent
8614fb4092
commit
fc34123a54
@@ -1366,10 +1366,10 @@ void ConditionalExpression::dump(int indent) const
|
||||
m_test->dump(indent + 1);
|
||||
print_indent(indent);
|
||||
printf("(Consequent)\n");
|
||||
m_test->dump(indent + 1);
|
||||
m_consequent->dump(indent + 1);
|
||||
print_indent(indent);
|
||||
printf("(Alternate)\n");
|
||||
m_test->dump(indent + 1);
|
||||
m_alternate->dump(indent + 1);
|
||||
}
|
||||
|
||||
void SequenceExpression::dump(int indent) const
|
||||
|
||||
Reference in New Issue
Block a user