documentation
documentation copied to clipboard
Module Dependencies should be replaced with function dependencies
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.
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.