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:
parent
045a42cf35
commit
22174d3b7b
2 changed files with 16 additions and 16 deletions
|
@ -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 };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue