Cross module conflict bug with private and public members?

Adam D. Ruppe via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 22 07:28:24 PDT 2015


On Saturday, 22 August 2015 at 13:47:31 UTC, Gary Willoughby 
wrote:
> `std.concurrency.Generator` is public and `std.range.Generator` 
> is private so surely these shouldn't conflict?

You would think so, but this is the way it has been since the 
beginning of D so I wouldn't expect the implementation to change 
any time soon. Just work around it with static+renamed imports or 
full name disambiguation.

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


More information about the Digitalmars-d mailing list