Cross module conflict bug with private and public members?

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Sat Aug 22 08:35:45 PDT 2015


On Sat, Aug 22, 2015 at 03:24:45PM +0000, Gary Willoughby via Digitalmars-d wrote:
> On Saturday, 22 August 2015 at 14:28:23 UTC, H. S. Teoh wrote:
> >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?
> >
> >https://issues.dlang.org/show_bug.cgi?id=1238
> >
> >
> >T
> 
> Ah yes, I remember this one now. When is this ever going to get fixed?

Who knows.  There was an original fix by Kenji that worked, but was
reverted for various reasons.  Maybe if you clamor loud enough, the PTB
may finally decide to do something about it.


T

-- 
People tell me that I'm skeptical, but I don't believe them.


More information about the Digitalmars-d mailing list