1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 06:15:07 +00:00

LibJS: Remove unused CodeGenerationError::to_deprecated_string

This commit is contained in:
Timothy Flynn 2023-02-16 14:14:22 -05:00 committed by Tim Flynn
parent 88814acbd3
commit 1400a85fae
2 changed files with 0 additions and 6 deletions

View file

@ -326,9 +326,4 @@ Label Generator::perform_needed_unwinds_for_labelled_continue_and_return_target_
VERIFY_NOT_REACHED();
}
DeprecatedString CodeGenerationError::to_deprecated_string()
{
return DeprecatedString::formatted("CodeGenerationError in {}: {}", failing_node ? failing_node->class_name() : "<unknown node>", reason_literal);
}
}