mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 05:48:12 +00:00
LibJS: Fix ConditionalExpression::dump()
Let's not print m_test three times :^)
This commit is contained in:
parent
8614fb4092
commit
fc34123a54
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue