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

mutable JSON module #74

Merged
merged 1 commit into from
Jul 16, 2020
Merged

mutable JSON module #74

merged 1 commit into from
Jul 16, 2020

Conversation

xtuc
Copy link
Member

@xtuc xtuc commented Jun 23, 2020

Closes https://github.com/tc39/proposal-import-attributes/issues/54

I'm really unsure about the spec language to describe that. We don't explictly call freeze so I suppose it's clear

@littledan
Copy link
Member

It's good to document this better, even if the spec already defines semantics. I'd avoid using the word "should" since this doesn't really correspond to the RFC 2119 definition. Instead, let's say, "is". Also, instead of talking about the Realm, let's be more concrete, and say, "all of the import statements in the module graph that address the same JSON module will evaluate to the same mutable object"

@xtuc
Copy link
Member Author

xtuc commented Jul 4, 2020

I will make the changes, just focusing on #75 for now

@xtuc xtuc force-pushed the sven/mutable-json-module branch from f051178 to 992b663 Compare July 8, 2020 23:03
@xtuc xtuc requested a review from littledan July 16, 2020 12:00
@xtuc xtuc merged commit 6f7fff4 into master Jul 16, 2020
@xtuc xtuc deleted the sven/mutable-json-module branch July 16, 2020 14:46
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.

Should JSON modules be frozen?
2 participants