Skip to content

Module Dependencies should be replaced with function dependencies #387

Open

Description

@Development-Begins

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.

Activity

  1. hdgarrood commented on Jun 11, 2021

    @hdgarrood
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions