On Saturday, 15 May 2021 at 07:15:51 UTC, DLearner wrote: > On Saturday, 15 May 2021 at 07:05:00 UTC, Mike Parker wrote: >> >> That's odd. What's your command line? >> > rdmd main.d Then it must be an issue with rdmd. The following both work as expected, whether your the `import B;` in `main` is commented out or not: dmd -i main.d dmd main.d A.d B.d