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

"Source" is a little confusing #57

Open
arcanis opened this issue Oct 12, 2023 · 1 comment
Open

"Source" is a little confusing #57

arcanis opened this issue Oct 12, 2023 · 1 comment

Comments

@arcanis
Copy link

arcanis commented Oct 12, 2023

It's only after reading the spec that I understood the value accessed when using the source keyword isn't the module's source file content, but rather the module object. Is the name source definitive?

@guybedford
Copy link
Collaborator

There will be two separate module objects - module source objects, and module instance objects. The reason for this is that one source can have multiple instances.

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

No branches or pull requests

2 participants