mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 08:58:11 +00:00
LibJS: Don't differentiate between empty and null DFS in CatchClause
This commit is contained in:
parent
fb2c929310
commit
d558468d03
1 changed files with 1 additions and 1 deletions
|
@ -1374,7 +1374,7 @@ void CatchClause::dump(int indent) const
|
||||||
print_indent(indent);
|
print_indent(indent);
|
||||||
m_parameter.visit(
|
m_parameter.visit(
|
||||||
[&](DeprecatedFlyString const& parameter) {
|
[&](DeprecatedFlyString const& parameter) {
|
||||||
if (parameter.is_null())
|
if (parameter.is_empty())
|
||||||
outln("CatchClause");
|
outln("CatchClause");
|
||||||
else
|
else
|
||||||
outln("CatchClause ({})", parameter);
|
outln("CatchClause ({})", parameter);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue