Ara
Download

Search or run a command

Jump to a section or open an Ara link.

Diagnostic code · ARA0923

Module dependency cycle

Module references form a cycle, so a valid dependency-first load order cannot be produced. Modules in the cycle are not loaded; dependents can also be blocked with ARA0925.

Common causes

  • Two modules reference each other in ara.module.toml.
  • A longer chain of module references leads back to its starting module.

Fixes

  • Remove the circular reference and move shared types into a lower-level module that both sides can reference.

  • Follow the cycle named in the diagnostic and keep the resulting dependency graph acyclic.

  • Code: ARA0923

  • Constant: script::MODULE_CYCLE

  • Reported by: ara-script