Shouldn't dfix be made a friend of the compiler?

Laeeth Isharc via Digitalmars-d digitalmars-d at puremagic.com
Mon Jan 26 12:27:26 PST 2015


"5. The kind that a tool such as 'dfix', can automate. For
example, let's say dfix is included with the compiler package.
Now you get an error, saying: "Error: `@nogc` is no longer
accepted, but can be automatically replaced with `nogc`. Run dfix
on this file? (y/n)"... or whatever is deemed the secure approach
to this feature.
"

Sorry for the tangent (I have no view on the major topic),  +1 
for including a link to dfix within the compiler.  Repetitive 
things ought to be automated and made easy and how many times 
does one end up fixing up old code ?


More information about the Digitalmars-d mailing list