Greenwashing

Steven Schveighoffer schveiguy at gmail.com
Thu May 28 01:44:52 UTC 2020


On 5/27/20 9:32 PM, Adam D. Ruppe wrote:
> On Thursday, 28 May 2020 at 01:20:31 UTC, Steven Schveighoffer wrote:
>> This isn't something I thought of. I am surprised if the compiler 
>> semantically analyzes only-imported functions. In fact, I'm almost 
>> sure this doesn't happen (based on D's track record with unittests).
> 
> aaaargh, I'm sorry, you're right. I forgot I habitually use -i now which 
> brings it in for full analysis.
> 
> It only does this for auto functions and templates in imported modules 
> right now.

Even so, things like DUB could automatically build .di files if this was 
an issue.

-Steve


More information about the Digitalmars-d mailing list