mirror of
https://github.com/RGBCube/serenity
synced 2025-05-16 05:55:00 +00:00
LibJS: Fix dump() indentation of UpdateExpression with suffix operator
This commit is contained in:
parent
2dbea60fe2
commit
aa68de3530
1 changed files with 3 additions and 2 deletions
|
@ -1442,9 +1442,10 @@ void UpdateExpression::dump(int indent) const
|
|||
}
|
||||
|
||||
ASTNode::dump(indent);
|
||||
if (m_prefixed) {
|
||||
print_indent(indent + 1);
|
||||
if (m_prefixed)
|
||||
printf("%s\n", op_string);
|
||||
}
|
||||
m_argument->dump(indent + 1);
|
||||
if (!m_prefixed) {
|
||||
print_indent(indent + 1);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue