On Mon, Jun 17, 2013 at 5:11 PM, bearophile <bearophileHUGS@lycos.com> wrote:
Andrej Mitrovic:rdmd is used often in a situation where it knows all the modules of a program. So it must be able to detect those cycles. It seems an enhancement request for rdmd. Maybe a similar enhancement is possible for dmd, because there are plans to make the D compiler able to find all the modules it needs to compile a program.
No idea, but I've wondered this myself too. After all "imports" are a static feature and all are known at compile-time.
Bye,
bearophile