Does dmd not always compile all of the source code?

Atila Neves atila.neves at gmail.com
Wed Dec 6 16:10:34 UTC 2017


On Wednesday, 6 December 2017 at 16:07:41 UTC, A Guy With a 
Question wrote:
> Noticed several typos that dmd seems to have not picked up 
> initially. Does dmd not compile all source code? I obviously 
> wouldn't expect it to recompile something unnecessarily, but in 
> a few cases I've just seen it not throw errors where it should 
> have.

It depends on how you're invoking it.

In all likelihood, you had typos in uninstantiated templates.

Atila


More information about the Digitalmars-d-learn mailing list