[Issue 19468] New: Improve cyclic dependency error message
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 6 18:38:31 UTC 2018
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: nobody at puremagic.com
Reporter: hsteoh at 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.)
--
More information about the Digitalmars-d-bugs
mailing list