[Issue 15167] [REG2.069-devel] conflicting error with repeated alias declaration

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Oct 9 19:05:14 PDT 2015


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

Martin Nowak <code at dawg.eu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WONTFIX

--- Comment #9 from Martin Nowak <code at dawg.eu> ---
(In reply to Kenji Hara from comment #6)
> (In reply to Martin Nowak from comment #0)
> > version (X86_64)
> >     alias ulong CARD64;
> > 
> > static if (true)
> >     alias ulong CARD64;
> 
> @Martin Is there any reasons that you cannot remove the alias repetition?

Nope, as I said initially

> It might indeed be treated as conflict but it used to work with 2.068.2

I found this in a often used dub binding for X11 and made a PR to fix it.
https://github.com/nomad-software/x11/pull/12

--


More information about the Digitalmars-d-bugs mailing list