Universal Function Attribute Inference

Paul Backus snarwin at gmail.com
Wed Mar 20 23:59:09 UTC 2024


On Monday, 18 March 2024 at 10:30:28 UTC, Richard (Rikki) Andrew 
Cattermole wrote:
> I am assuming that you generate .di files every time and use 
> that for importing, not the .d files.

Yes, this is one possible mitigation.

The main downside of this is that .di files don't include 
function bodies, so you lose access to cross-module CTFE. 
Although I guess we could add a compiler switch to include 
function bodies in .di files.


More information about the dip.ideas mailing list