mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 00:57:43 +00:00
AK: Undo bogus Variant::downcast() rename
I accidentally renamed these to verify_cast() when doing the global AK::downcast() rename.
This commit is contained in:
parent
337ad6d15c
commit
beb43f673e
4 changed files with 6 additions and 6 deletions
|
@ -1691,7 +1691,7 @@ NonnullRefPtr<VariableDeclaration> Parser::parse_variable_declaration(bool for_l
|
|||
|
||||
declarations.append(create_ast_node<VariableDeclarator>(
|
||||
{ m_state.current_token.filename(), rule_start.position(), position() },
|
||||
move(target).verify_cast<NonnullRefPtr<Identifier>, NonnullRefPtr<BindingPattern>>(),
|
||||
move(target).downcast<NonnullRefPtr<Identifier>, NonnullRefPtr<BindingPattern>>(),
|
||||
move(init)));
|
||||
|
||||
if (match(TokenType::Comma)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue