Skip to content

Fix evaluation order of computed property assignment - #1780

Merged
saghul merged 2 commits into
quickjs-ng:masterfrom
goffrie:fix-assignment-expression-order
Oct 6, 2026
Merged

saghul merged 2 commits into
quickjs-ng:masterfrom
goffrie:fix-assignment-expression-order

Conversation

@goffrie

@goffrie goffrie commented Sep 29, 2026

Copy link
Copy Markdown
Contributor

This PR reverts #238 and cherry-picks bellard/quickjs@8f99de5.

This implements the new evaluation order as specified in tc39/ecma262#3307 and fixes the tests added in tc39/test262#4052.

Both revert and cherry-pick are clean except I've squashed in the corresponding codegen and test262_errors updates.

@saghul saghul left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, can you rebase please?

@goffrie
goffrie force-pushed the fix-assignment-expression-order branch from 988ffce to 8a4aea1 Compare October 5, 2026 23:54
@saghul
saghul merged commit 0db3949 into quickjs-ng:master Oct 6, 2026
128 checks passed
@goffrie
goffrie deleted the fix-assignment-expression-order branch October 6, 2026 19:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants