1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 22:57:34 +00:00

LibJS: Rename in_async_function_context to await_expression_is_valid

Since await can be valid in module code which is not an async function
the old name is not really representative for the usage.
This commit is contained in:
davidot 2021-11-26 23:50:32 +01:00 committed by Linus Groh
parent 045a42cf35
commit 22174d3b7b
2 changed files with 16 additions and 16 deletions

View file

@ -261,7 +261,7 @@ private:
bool in_function_context { false };
bool in_formal_parameter_context { false };
bool in_generator_function_context { false };
bool in_async_function_context { false };
bool await_expression_is_valid { false };
bool in_arrow_function_context { false };
bool in_break_context { false };
bool in_continue_context { false };