https://issues.dlang.org/show_bug.cgi?id=19468

          Issue ID: 19468
           Summary: Improve cyclic dependency error message
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: hst...@quickfur.ath.cx

The compiler error message about cyclic dependencies between modules should
indicate that it's a cyclic dependency between module *ctors* or *dtors*,
otherwise users could be misled into trying to fix the non-existent problem of
cyclic imports.

See also: https://issues.dlang.org/show_bug.cgi?id=5053 (Note: this is NOT the
same bug; the latter refers to the error message emitted by druntime at
runtime. This present bug is concerned with the *compiler* error message.)

--

Reply via email to