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

Model object environment records as records #2285

Closed
bakkot opened this issue Jan 22, 2021 · 0 comments · Fixed by #2287
Closed

Model object environment records as records #2285

bakkot opened this issue Jan 22, 2021 · 0 comments · Fixed by #2287

Comments

@bakkot
Copy link
Contributor

bakkot commented Jan 22, 2021

For some reason, object Environment Records have two additional "fields" - the "binding object" and the "withEnvironment" - which are not stored as slots, just additional data. We should make them actually be fields, like we do for the additional data in function Environment records.

While we're at it, NewObjectEnvironment could take a boolean for withEnvironment, so that it could set up the whole record. That would be helpful for the HTML folks, which for some reason needs to make these things.

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 a pull request may close this issue.

1 participant