Fix arguments object in eval-ed functions in static class initializers (#5140)

JerryScript-DCO-1.0-Signed-off-by: Máté Tokodi mate.tokodi@szteszoftver.hu
This commit is contained in:
Máté Tokodi
2024-05-28 06:59:13 +02:00
committed by GitHub
parent 35465ed78e
commit d7e21259fe
3 changed files with 39 additions and 0 deletions
@@ -125,6 +125,8 @@ typedef enum
#if JERRY_DEBUGGER
SCANNER_CONTEXT_DEBUGGER_ENABLED = (1 << 1), /**< debugger is enabled */
#endif /* JERRY_DEBUGGER */
SCANNER_CONTEXT_RESTORE_INSIDE_CLASS_FIELD_FLAG =
(1 << 2), /**< restore the PARSER_INSIDE_CLASS_FIELD flag of the main context */
} scanner_context_flags_t;
/**