Cross module conflict bug with private and public members?

H. S. Teoh via Digitalmars-d digitalmars-d at
Sat Aug 22 07:24:44 PDT 2015

On Sat, Aug 22, 2015 at 01:47:30PM +0000, Gary Willoughby via Digitalmars-d wrote:
> test.d(41): Error: std.concurrency.Generator(T) at
> /usr/include/dmd/phobos/std/concurrency.d(1569) conflicts with
> std.range.Generator(Fun...) at /usr/include/dmd/phobos/std/rang
> e/package.d(2806)
> `std.concurrency.Generator` is public and `std.range.Generator` is private
> so surely these shouldn't conflict?


Nothing in the world is more distasteful to a man than to take the path that leads to himself. -- Herman Hesse

More information about the Digitalmars-d mailing list