Skip to content

Conversation

@guybedford
Copy link
Collaborator

@guybedford guybedford commented Nov 30, 2024

This specifies #68, effectively upstreaming the [[ModuleSource]] field from ESM Phase Imports for all abstract module sources.

Overall this does seem to provide for simpler spec text.

This moves the SyntaxError from being host-defined into being a generic ECMA-262 syntax error, but this also seems a nicer simplification, and also possible to classify as editorial.

Leaving this open pending further discussion about this.

@guybedford guybedford force-pushed the getmodulesource-modulesource branch from 7afb8ae to 1a619df Compare November 30, 2024 22:58
Copy link
Member

@nicolo-ribaudo nicolo-ribaudo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be 100% editorial.

I left a comment about a bug, but it also applies to the text before this PR.

@guybedford
Copy link
Collaborator Author

Thanks, added your wording correction. That is indeed a bug in the wording for host implementations although it's been implemented correctly in the Wasm ESM integration spec.

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.

3 participants