www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - rdmd renames directories if they share the same name as an output

reply "Gary Willoughby" <dev nomad.so> writes:
In the following bug report it's highlighted that rdmd renames 
directories if they share the same name as the output file.

https://issues.dlang.org/show_bug.cgi?id=13758

Is there a consensus of opinion on what rdmd should do in this 
situation? i.e. should it raise an error and fail? Should there 
be a switch to enable this behaviour?

Personally I think it *should* fail and report the name clash. 
The switch should not implemented.
Apr 30 2015
parent reply "CraigDillabaugh" <craig.dillabaugh gmail.com> writes:
On Thursday, 30 April 2015 at 18:09:29 UTC, Gary Willoughby wrote:
 In the following bug report it's highlighted that rdmd renames 
 directories if they share the same name as the output file.

 https://issues.dlang.org/show_bug.cgi?id=13758

 Is there a consensus of opinion on what rdmd should do in this 
 situation? i.e. should it raise an error and fail? Should there 
 be a switch to enable this behaviour?

 Personally I think it *should* fail and report the name clash. 
 The switch should not implemented.
Agreed. It should just fail.
Apr 30 2015
parent Andrei Alexandrescu <SeeWebsiteForEmail erdani.org> writes:
On 4/30/15 12:10 PM, CraigDillabaugh wrote:
 On Thursday, 30 April 2015 at 18:09:29 UTC, Gary Willoughby wrote:
 In the following bug report it's highlighted that rdmd renames
 directories if they share the same name as the output file.

 https://issues.dlang.org/show_bug.cgi?id=13758

 Is there a consensus of opinion on what rdmd should do in this
 situation? i.e. should it raise an error and fail? Should there be a
 switch to enable this behaviour?

 Personally I think it *should* fail and report the name clash. The
 switch should not implemented.
Agreed. It should just fail.
Please have it fail. Preapproved. -- Andrei
Apr 30 2015