LibJS: Don't differentiate between empty and null DFS in CatchClause
This commit is contained in:
parent
fb2c929310
commit
d558468d03
Notes:
sideshowbarker
2024-07-17 06:40:21 +09:00
Author: https://github.com/DanShaders Commit: https://github.com/SerenityOS/serenity/commit/d558468d03 Pull-request: https://github.com/SerenityOS/serenity/pull/22926 Reviewed-by: https://github.com/ADKaster ✅ Reviewed-by: https://github.com/davidot ✅
1 changed files with 1 additions and 1 deletions
|
@ -1374,7 +1374,7 @@ void CatchClause::dump(int indent) const
|
|||
print_indent(indent);
|
||||
m_parameter.visit(
|
||||
[&](DeprecatedFlyString const& parameter) {
|
||||
if (parameter.is_null())
|
||||
if (parameter.is_empty())
|
||||
outln("CatchClause");
|
||||
else
|
||||
outln("CatchClause ({})", parameter);
|
||||
|
|
Loading…
Add table
Reference in a new issue