mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-24 19:28:48 +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
Notes:
sideshowbarker
2024-07-17 23:18:04 +09:00
Author: https://github.com/davidot
Commit: 22174d3b7b
Pull-request: https://github.com/SerenityOS/serenity/pull/11088
Issue: https://github.com/SerenityOS/serenity/issues/11078
Reviewed-by: https://github.com/IdanHo
Reviewed-by: https://github.com/alimpfard
Reviewed-by: https://github.com/linusg ✅
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