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:
parent
eeb15fc10b
commit
3d83d70cac
4 changed files with 6 additions and 6 deletions
|
@ -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);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue