food for thought - swift 5 released - bottom types, string interpolation, and stuff.

Walter Bright newshound2 at digitalmars.com
Fri Apr 12 10:45:15 UTC 2019


On 4/11/2019 9:19 PM, Mike Franklin wrote:
> And what do you have to say about this gem? 
> https://github.com/dlang/dmd/blob/4c65b8726a66314e12ad1cad66b099d358e7165d/src/dmd/optimize.d#L62-L65 

Glad you asked. I added it so I could hook the return, which I often do when 
debugging.


> Or this? https://github.com/dlang/dmd/blob/master/src/dmd/clone.d#L150-L154

The commented out printf gives away the purpose.


> It's the same thing.

Nope.


More information about the Digitalmars-d mailing list