Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Editorial: Remove duplicate "current Realm" variable from CreateDynamicFunction #3177

Merged

Conversation

shvaikalesh
Copy link
Member

Given currentRealm is declared at the step 1 of CreateDynamicFunction, and that running execution context won't change until realmF declaration (step 23), it's more clear and sensible to reuse the currentRealm variable.

@shvaikalesh shvaikalesh requested a review from a team September 30, 2023 00:05
@bakkot bakkot added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Oct 22, 2023
@ljharb ljharb force-pushed the remove-duplicate-var-from-createdynamicfunction branch from 3b3bfd9 to 3d7c44c Compare October 24, 2023 21:25
@ljharb ljharb merged commit 3d7c44c into tc39:main Oct 24, 2023
7 checks passed
zhangenming pushed a commit to zhangenming/ecma262 that referenced this pull request Dec 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editorial change ready to merge Editors believe this PR needs no further reviews, and is ready to land.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants