What's the current state of the art for module compilation?

Walter Bright newshound2 at digitalmars.com
Fri Nov 27 19:55:21 UTC 2026


On 11/24/2026 3:20 AM, David Given wrote:
> - I was told that using generated .di files with certain constructs (templates, 
> auto return, something annotation-based which I forget) doesn't work and 
> produces .di files which will in turn cause miscompilation and runtime crashes. 
> Can anyone confirm or deny that?

I'd need to see an example of such a failure. Some experiments I tried don't 
result in erroneous generation.

But definitely errors will happen if a .d file is changed, and the .di file is 
not updated accordingly.



More information about the Digitalmars-d mailing list