[Issue 16673] improve cyclic module imports checker
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Wed Nov 9 08:44:54 PST 2016
https://issues.dlang.org/show_bug.cgi?id=16673
--- Comment #2 from Steven Schveighoffer <schveiguy at yahoo.com> ---
I think Martin meant *data* symbols, not functions. Obviously function symbols
in local module can depend on external items. Of course, the compiler could
extend the check to the local function as well if possible.
I'd go further and say that depending on external compile-time constants can
also be allowed (e.g. enums).
--
More information about the Digitalmars-d-bugs
mailing list