diff options
author | Jo-Philipp Wich <jo@mein.io> | 2024-09-23 16:36:16 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2024-09-23 16:36:16 +0200 |
commit | 94d1211ce0b5ed962de990a4427b9dea0c25522f (patch) | |
tree | 80788c52943f9bcc5426f90105f7f451ba3c0b0d /main.c | |
parent | b610860dd4a0591ff586dd71a50f556a0ddafced (diff) |
compiler: properly treat property names after spread expressions
Ensure that unquoted property names following spread expressions in object
declaration literals are not treated as keywords.
Prior to this fix, an expression such as `{ ...someobj, default: 1 }` would
result in a compile time syntax error.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'main.c')
0 files changed, 0 insertions, 0 deletions