1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 02:37:42 +00:00

Shell: Stop lying about string types

This commit is contained in:
Hendiadyoin1 2023-06-11 19:47:20 +02:00 committed by Jelle Raaijmakers
parent eeb15fc10b
commit 3d83d70cac
4 changed files with 6 additions and 6 deletions

View file

@ -598,7 +598,7 @@ void Formatter::visit(const AST::MatchExpr* node)
if (!first)
current_builder().append(" | "sv);
first = false;
auto node = make_ref_counted<AST::BarewordLiteral>(AST::Position {}, String::from_utf8(option.pattern_value).release_value_but_fixme_should_propagate_errors());
auto node = make_ref_counted<AST::BarewordLiteral>(AST::Position {}, String::from_deprecated_string(option.pattern_value).release_value_but_fixme_should_propagate_errors());
node->visit(*this);
}
});