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: initialize missing slots in OrdinaryFunctionCreate #2464

Merged
merged 1 commit into from
Jul 22, 2021

Conversation

devsnek
Copy link
Member

@devsnek devsnek commented Jul 17, 2021

These fields were not initialized at all, although they are present on every ordinary function according to table 33. Depending on how you view internal slots this either caused creating the object to be invalid, or it caused InitializeInstanceFields to be invalid.

@bakkot bakkot added the ready to merge Editors believe this PR needs no further reviews, and is ready to land. label Jul 21, 2021
@ljharb ljharb force-pushed the fix-uninit-fields branch from e8efa20 to 691c447 Compare July 22, 2021 05:18
@ljharb ljharb merged commit 691c447 into tc39:master Jul 22, 2021
mathiasbynens pushed a commit to mathiasbynens/ecma262 that referenced this pull request Oct 18, 2021
@devsnek devsnek deleted the fix-uninit-fields branch February 6, 2022 16:58
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. spec bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants