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

Module Dependencies should be replaced with function dependencies #387

Open
Development-Begins opened this issue Jun 11, 2021 · 1 comment

Comments

@Development-Begins
Copy link

If a function 'a', present in module Bar, is called from function 'b' in Foo and
a function 'c' present in module Foo is called from function 'a' in Bar,
function 'c' does not call any function.
Then this leads to cycle dependencies, while it should not.

@hdgarrood
Copy link
Collaborator

I think this could be hard to justify in that some backends might have to radically adjust how they compile modules in order to support circular module dependencies. I think this is doable in JS once we have switched to ES modules, but other backends might have a harder time.

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