Skip to content

Admit receiver-bound this in static Test262 scripts - #495

Merged
ctate merged 2 commits into
mainfrom
ctate/test262-contextual-this
Sep 27, 2026
Merged

ctate merged 2 commits into
mainfrom
ctate/test262-contextual-this

Conversation

@ctate

@ctate ctate commented Sep 27, 2026 •

Copy link
Copy Markdown
Collaborator

The static Test262 adapter excluded every test containing this, including class methods and field initializers whose receiver is preserved by the adapted entry. Admit this inside ordinary function bodies, class field initializers, and static blocks while continuing to exclude script-level this, top-level arrows that capture it, and computed class names that evaluate in the outer context.

Add boundary tests and unchanged class fixtures from the pinned Test262 snapshot. Refresh the Set-seed diagnostic fixture and snapshot to reflect string seeds already supported by the compiler.

@vercel

vercel Bot commented Sep 27, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
scriptc Ready Ready Preview, v0 Sep 27, 2026 8:29pm UTC

@ctate
ctate merged commit 1323439 into main Sep 27, 2026
37 checks passed
@ctate
ctate deleted the ctate/test262-contextual-this branch September 27, 2026 20:36

This branch was successfully deployed

1 active deployment
Preview — 5e5a55f3 Deployed Sep 27, 2026 by vercel[bot]
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.

1 participant