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

track export * identifiers to detect collisions. #187

Open
jdalton opened this issue Jul 17, 2017 · 0 comments
Open

track export * identifiers to detect collisions. #187

jdalton opened this issue Jul 17, 2017 · 0 comments

Comments

@jdalton
Copy link
Contributor

jdalton commented Jul 17, 2017

To detect collisions of say

let a = 3

export { a}
export * from "./abc.js" // where abc.js also exports "a"

You'll need to track identifier origins.
This can be done more easily when you implement the load order of waiting on child modules to load before triggering the Entry#loaded() since that will remove the need of capturing multiple module owners so you can associate an identifier with 1 owner module.

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

1 participant